Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0007497/0.0007529, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.000865/0.0008651, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.9 MB / 0.666 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6925, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09569/0.7883, allocations: 96.73 MB / 1.049 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.05019/0.8385, allocations: 30.95 MB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007309/0.8459, allocations: 135.1 kB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006577/0.8525, allocations: 1.335 MB / 1.081 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01632/0.8689, allocations: 4.024 MB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.8794, allocations: 2.921 MB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0187/0.8981, allocations: 10.82 MB / 1.098 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/0.9046, allocations: 2.654 MB / 1.1 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.9147, allocations: 3.24 MB / 1.104 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006328/0.9211, allocations: 2.808 MB / 1.106 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.9224, allocations: 168 kB / 1.107 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006061/0.9285, allocations: 1.829 MB / 1.108 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.9302, allocations: 1.051 MB / 1.109 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.9322, allocations: 0.8549 MB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008869/0.9411, allocations: 5.603 MB / 1.116 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9411, allocations: 0 / 1.116 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9411, allocations: 4 kB / 1.116 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001939/0.9413, allocations: 4 kB / 1.116 GB, free: 9.926 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.009023/0.9503, allocations: 4.399 MB / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.9504, allocations: 8.031 kB / 1.12 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008352/0.9588, allocations: 1.622 MB / 1.122 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.9711, allocations: 4.279 MB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.9715, allocations: 181.2 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009178/0.9724, allocations: 232 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/0.9783, allocations: 2.829 MB / 1.129 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.9784, allocations: 0 / 1.129 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.9786, allocations: 88 kB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.9787, allocations: 52 kB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/0.984, allocations: 2.174 MB / 1.131 GB, free: 9.781 MB / 0.8887 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.0219/1.006, allocations: 12.63 MB / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/1.01, allocations: 1.759 MB / 1.145 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/1.012, allocations: 0.839 MB / 1.146 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00724/1.019, allocations: 4.148 MB / 1.15 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.019, allocations: 47.56 kB / 1.15 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001321/1.021, allocations: 202.3 kB / 1.15 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=111): time 3.907e-06/1.021, allocations: 0 / 1.15 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111): time 0.009397/1.03, allocations: 3.388 MB / 1.154 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.03, allocations: 64.41 kB / 1.154 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/1.035, allocations: 3.397 MB / 1.157 GB, free: 13.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/1.035, allocations: 57.7 kB / 1.157 GB, free: 13.92 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.037, allocations: 1.781 MB / 1.159 GB, free: 12.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/1.038, allocations: 378.5 kB / 1.159 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/1.038, allocations: 36 kB / 1.159 GB, free: 11.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.038, allocations: 381.9 kB / 1.16 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/1.04, allocations: 0.9525 MB / 1.161 GB, free: 10.38 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/1.043, allocations: 1.659 MB / 1.162 GB, free: 8.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/1.045, allocations: 1.084 MB / 1.163 GB, free: 7.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.045, allocations: 4 kB / 1.163 GB, free: 7.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007012/1.053, allocations: 3.105 MB / 1.166 GB, free: 4.195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005587/1.053, allocations: 0.6332 MB / 1.167 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.053, allocations: 16 kB / 1.167 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/1.055, allocations: 407.1 kB / 1.167 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.057, allocations: 463.2 kB / 1.168 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/1.059, allocations: 2.759 MB / 1.17 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/1.062, allocations: 243.8 kB / 1.171 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/1.063, allocations: 159.9 kB / 1.171 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.063, allocations: 4 kB / 1.171 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007028/1.07, allocations: 3.314 MB / 1.174 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/1.07, allocations: 16 kB / 1.174 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.072, allocations: 0.8587 MB / 1.175 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.074, allocations: 447.3 kB / 1.175 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/1.09, allocations: 12.36 MB / 1.187 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/1.094, allocations: 243.6 kB / 1.188 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/1.094, allocations: 132 kB / 1.188 GB, free: 13.12 MB / 0.9512 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001993/1.096, allocations: 0.8714 MB / 1.189 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/1.097, allocations: 359.3 kB / 1.189 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/1.103, allocations: 2.887 MB / 1.192 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.104, allocations: 19.98 kB / 1.192 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.104, allocations: 3.953 kB / 1.192 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/1.104, allocations: 15.91 kB / 1.192 GB, free: 8.938 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.01081/1.114, allocations: 5.142 MB / 1.197 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.114, allocations: 4 kB / 1.197 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/1.116, allocations: 275.8 kB / 1.197 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009372/1.117, allocations: 394.9 kB / 1.197 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.117, allocations: 47.95 kB / 1.197 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.119, allocations: 2.627 MB / 1.2 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.119, allocations: 7.953 kB / 1.2 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/1.126, allocations: 2.601 MB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/1.129, allocations: 0.6053 MB / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.131, allocations: 27.95 kB / 1.203 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.133, allocations: 235.6 kB / 1.203 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.134, allocations: 89.11 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.134, allocations: 75.94 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004291/1.138, allocations: 2.244 MB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.138, allocations: 4 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.008231/1.146, allocations: 1.82 MB / 1.208 GB, free: 8.473 MB / 0.9669 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/1.148, allocations: 0.6907 MB / 1.208 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009417/1.158, allocations: 4.374 MB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.158, allocations: 7.938 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/1.16, allocations: 0.9881 MB / 1.213 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007262/1.167, allocations: 1.724 MB / 1.215 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.178, allocations: 7.174 MB / 1.222 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.18, allocations: 2.25 MB / 1.224 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00419/1.184, allocations: 0.8926 MB / 1.225 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.185, allocations: 283.3 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of SimCode: time 8.91e-07/1.185, allocations: 0 / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of Templates: time 0.6936/1.879, allocations: 77.09 MB / 1.301 GB, free: 238 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches