Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 108.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002184, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8972, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1174/1.015, allocations: 106.5 MB / 1.271 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05538/1.07, allocations: 35.45 MB / 1.306 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00576/1.076, allocations: 163.1 kB / 1.306 GB, free: 5.285 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008436/1.084, allocations: 2.978 MB / 1.309 GB, free: 2.297 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01563/1.1, allocations: 5.798 MB / 1.315 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.111, allocations: 4.14 MB / 1.319 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04872/1.16, allocations: 32.53 MB / 1.35 GB, free: 7.777 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007538/1.167, allocations: 3.692 MB / 1.354 GB, free: 4.016 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.011/1.178, allocations: 4.431 MB / 1.358 GB, free: 15.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/1.185, allocations: 3.446 MB / 1.362 GB, free: 12.12 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/1.187, allocations: 480 kB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008068/1.195, allocations: 3.015 MB / 1.365 GB, free: 8.637 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004103/1.199, allocations: 1.959 MB / 1.367 GB, free: 6.672 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007623/1.207, allocations: 3.09 MB / 1.37 GB, free: 3.566 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/1.224, allocations: 9.508 MB / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.224, allocations: 3.938 kB / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.435e-06/1.224, allocations: 4 kB / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002456/1.224, allocations: 0 / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01548/1.24, allocations: 6.689 MB / 1.386 GB, free: 3.203 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.24, allocations: 12.88 kB / 1.386 GB, free: 3.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/1.251, allocations: 1.943 MB / 1.388 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/1.271, allocations: 7.656 MB / 1.395 GB, free: 9.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/1.271, allocations: 188.3 kB / 1.395 GB, free: 9.312 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008958/1.272, allocations: 244 kB / 1.396 GB, free: 9.074 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/1.28, allocations: 3.417 MB / 1.399 GB, free: 5.516 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/1.28, allocations: 0 / 1.399 GB, free: 5.516 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/1.28, allocations: 88 kB / 1.399 GB, free: 5.43 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/1.28, allocations: 56 kB / 1.399 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007016/1.287, allocations: 2.569 MB / 1.402 GB, free: 2.789 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/1.315, allocations: 15.29 MB / 1.417 GB, free: 2.602 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006676/1.322, allocations: 2.41 MB / 1.419 GB, free: 188 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/1.325, allocations: 1.051 MB / 1.42 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.337, allocations: 5.439 MB / 1.425 GB, free: 9.363 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/1.337, allocations: 43.56 kB / 1.425 GB, free: 9.312 MB / 1.154 GB Notification: Performance of pre-optimization done (n=115): time 4.308e-06/1.337, allocations: 0 / 1.425 GB, free: 9.312 MB / 1.154 GB Notification: Performance of matching and sorting (n=115): time 0.01419/1.351, allocations: 4.248 MB / 1.429 GB, free: 4.969 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/1.351, allocations: 64.41 kB / 1.43 GB, free: 4.891 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/1.365, allocations: 5.74 MB / 1.435 GB, free: 15.15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006511/1.366, allocations: 61.7 kB / 1.435 GB, free: 15.09 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003315/1.369, allocations: 2.313 MB / 1.437 GB, free: 12.76 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/1.37, allocations: 440.4 kB / 1.438 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002784/1.373, allocations: 0.9157 MB / 1.439 GB, free: 11.4 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.373, allocations: 305.1 kB / 1.439 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/1.379, allocations: 2.899 MB / 1.442 GB, free: 8.195 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00669/1.385, allocations: 3.785 MB / 1.446 GB, free: 4.078 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.397, allocations: 6.17 MB / 1.452 GB, free: 13.63 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.397, allocations: 4 kB / 1.452 GB, free: 13.63 MB / 1.186 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01641/1.413, allocations: 7.824 MB / 1.459 GB, free: 5.762 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/1.413, allocations: 12 kB / 1.459 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/1.413, allocations: 20 kB / 1.459 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/1.416, allocations: 0.9682 MB / 1.46 GB, free: 4.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/1.419, allocations: 0.6825 MB / 1.461 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/1.422, allocations: 2.967 MB / 1.464 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.427, allocations: 494.4 kB / 1.464 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006716/1.428, allocations: 227.9 kB / 1.465 GB, free: 296 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01153/1.439, allocations: 3.521 MB / 1.468 GB, free: 12.76 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01118/1.451, allocations: 3.298 MB / 1.471 GB, free: 9.125 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01648/1.467, allocations: 5.221 MB / 1.476 GB, free: 3.637 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.291e-05/1.467, allocations: 8 kB / 1.476 GB, free: 3.629 MB / 1.201 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.02359/1.491, allocations: 6.945 MB / 1.483 GB, free: 12.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/1.491, allocations: 15.94 kB / 1.483 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/1.491, allocations: 23.94 kB / 1.483 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00365/1.495, allocations: 1.081 MB / 1.484 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/1.498, allocations: 0.6435 MB / 1.485 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/1.523, allocations: 16.55 MB / 1.501 GB, free: 9.641 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/1.528, allocations: 378.8 kB / 1.501 GB, free: 9.27 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007171/1.529, allocations: 183.9 kB / 1.501 GB, free: 9.09 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001144/1.53, allocations: 340 kB / 1.502 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.531, allocations: 0.5121 MB / 1.502 GB, free: 8.234 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.542, allocations: 3.542 MB / 1.506 GB, free: 4.672 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/1.542, allocations: 15.98 kB / 1.506 GB, free: 4.656 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.542, allocations: 3.938 kB / 1.506 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/1.542, allocations: 7.969 kB / 1.506 GB, free: 4.645 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.559, allocations: 6.538 MB / 1.512 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.559, allocations: 4 kB / 1.512 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.561, allocations: 311.7 kB / 1.512 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/1.562, allocations: 451 kB / 1.513 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.562, allocations: 59.94 kB / 1.513 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/1.565, allocations: 2.799 MB / 1.516 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.565, allocations: 3.984 kB / 1.516 GB, free: 10.29 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00914/1.574, allocations: 3.303 MB / 1.519 GB, free: 6.941 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.577, allocations: 0.8523 MB / 1.52 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001546/1.579, allocations: 24 kB / 1.52 GB, free: 6.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003809/1.583, allocations: 163.8 kB / 1.52 GB, free: 5.883 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/1.583, allocations: 93.12 kB / 1.52 GB, free: 5.789 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000277/1.583, allocations: 95.92 kB / 1.52 GB, free: 5.695 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.009685/1.593, allocations: 3.802 MB / 1.524 GB, free: 1.902 MB / 1.248 GB Notification: Performance of sort global known variables: time 5.41e-07/1.593, allocations: 0 / 1.524 GB, free: 1.902 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.01023/1.603, allocations: 2.414 MB / 1.526 GB, free: 15.48 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002984/1.606, allocations: 0.9485 MB / 1.527 GB, free: 14.54 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01908/1.625, allocations: 8.398 MB / 1.535 GB, free: 6.086 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.625, allocations: 0 / 1.535 GB, free: 6.086 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.629, allocations: 1.215 MB / 1.536 GB, free: 4.871 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/1.642, allocations: 2.538 MB / 1.539 GB, free: 2.391 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.661, allocations: 8.83 MB / 1.548 GB, free: 9.508 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004725/1.666, allocations: 2.961 MB / 1.55 GB, free: 6.512 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007017/1.673, allocations: 1.386 MB / 1.552 GB, free: 5.121 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/1.675, allocations: 391.2 kB / 1.552 GB, free: 4.738 MB / 1.279 GB Notification: Performance of SimCode: time 8.92e-07/1.675, allocations: 0 / 1.552 GB, free: 4.738 MB / 1.279 GB Notification: Performance of Templates: time 0.8037/2.479, allocations: 111.3 MB / 1.661 GB, free: 283.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches