Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.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.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.348 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.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8179, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.1021/0.92, allocations: 99.32 MB / 1.053 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02983/0.9499, allocations: 18.31 MB / 1.071 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.9543, allocations: 75.5 kB / 1.071 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.9588, allocations: 1.158 MB / 1.072 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.9684, allocations: 2.644 MB / 1.074 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.9751, allocations: 2.036 MB / 1.076 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.9857, allocations: 7.434 MB / 1.084 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/0.9896, allocations: 1.57 MB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.9949, allocations: 1.906 MB / 1.087 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.9984, allocations: 1.719 MB / 1.089 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007846/0.9992, allocations: 104 kB / 1.089 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004875/1.004, allocations: 1.844 MB / 1.091 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001439/1.006, allocations: 0.8603 MB / 1.091 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002986/1.009, allocations: 1.408 MB / 1.093 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00585/1.014, allocations: 3.698 MB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.014, allocations: 0 / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.805e-06/1.014, allocations: 0 / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001632/1.015, allocations: 0 / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.007742/1.022, allocations: 3.21 MB / 1.1 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.022, allocations: 12.03 kB / 1.1 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/1.027, allocations: 0.7738 MB / 1.1 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008481/1.036, allocations: 3.148 MB / 1.103 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/1.036, allocations: 166.8 kB / 1.104 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/1.037, allocations: 136 kB / 1.104 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/1.041, allocations: 1.833 MB / 1.105 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/1.041, allocations: 4 kB / 1.105 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/1.042, allocations: 55.98 kB / 1.106 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/1.042, allocations: 28 kB / 1.106 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/1.046, allocations: 1.468 MB / 1.107 GB, free: 3.793 MB / 0.8575 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.0155/1.061, allocations: 8.363 MB / 1.115 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/1.065, allocations: 1.254 MB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/1.067, allocations: 0.6939 MB / 1.117 GB, free: 8.887 MB / 0.8731 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 evalFunc (simulation): time 0.005545/1.073, allocations: 2.858 MB / 1.12 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.073, allocations: 39.12 kB / 1.12 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/1.074, allocations: 111.2 kB / 1.12 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=57): time 4.448e-06/1.074, allocations: 3.938 kB / 1.12 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57): time 0.008184/1.082, allocations: 2.42 MB / 1.122 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/1.082, allocations: 59.97 kB / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006496/1.089, allocations: 2.88 MB / 1.125 GB, free: 248 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/1.089, allocations: 49.7 kB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.091, allocations: 1.206 MB / 1.126 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.091, allocations: 197.1 kB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.091, allocations: 121.6 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.091, allocations: 349.9 kB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.094, allocations: 1.033 MB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/1.096, allocations: 1.57 MB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004597/1.101, allocations: 2.519 MB / 1.132 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/1.101, allocations: 4 kB / 1.132 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006485/1.107, allocations: 3.076 MB / 1.135 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/1.108, allocations: 0.5143 MB / 1.136 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/1.108, allocations: 16 kB / 1.136 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/1.109, allocations: 0.5833 MB / 1.136 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.111, allocations: 295.5 kB / 1.136 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/1.112, allocations: 1.6 MB / 1.138 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.115, allocations: 181.5 kB / 1.138 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/1.115, allocations: 104 kB / 1.138 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.115, allocations: 4 kB / 1.138 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005135/1.12, allocations: 2.46 MB / 1.141 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/1.12, allocations: 16.41 kB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.122, allocations: 0.7043 MB / 1.141 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.123, allocations: 267.6 kB / 1.142 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.136, allocations: 8.87 MB / 1.15 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.139, allocations: 167.8 kB / 1.15 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.139, allocations: 87.98 kB / 1.151 GB, free: 5.137 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (114): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001818/1.141, allocations: 0.7309 MB / 1.151 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/1.142, allocations: 240.9 kB / 1.152 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.147, allocations: 1.944 MB / 1.153 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/1.147, allocations: 8 kB / 1.153 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.147, allocations: 3.938 kB / 1.153 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003828/1.151, allocations: 1.752 MB / 1.155 GB, free: 364 kB / 0.9044 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.0106/1.162, allocations: 3.74 MB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.162, allocations: 4 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/1.163, allocations: 187.8 kB / 1.159 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/1.164, allocations: 285.4 kB / 1.159 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/1.164, allocations: 23.92 kB / 1.159 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.165, allocations: 1.491 MB / 1.161 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.165, allocations: 11.86 kB / 1.161 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/1.172, allocations: 2.636 MB / 1.163 GB, free: 7.805 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/1.173, allocations: 461.7 kB / 1.164 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/1.174, allocations: 12 kB / 1.164 GB, free: 7.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.176, allocations: 163.8 kB / 1.164 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.176, allocations: 48.48 kB / 1.164 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.176, allocations: 39.97 kB / 1.164 GB, free: 7.074 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004449/1.181, allocations: 1.996 MB / 1.166 GB, free: 5.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.91e-07/1.181, allocations: 0 / 1.166 GB, free: 5.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006179/1.187, allocations: 1.259 MB / 1.167 GB, free: 3.816 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * 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 (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002536/1.189, allocations: 0.5724 MB / 1.168 GB, free: 3.246 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008715/1.198, allocations: 3.349 MB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.198, allocations: 0.9375 kB / 1.171 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/1.2, allocations: 0.6824 MB / 1.172 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007454/1.208, allocations: 1.258 MB / 1.173 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.218, allocations: 5.382 MB / 1.178 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/1.221, allocations: 1.769 MB / 1.18 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/1.222, allocations: 191.4 kB / 1.18 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of SimCode: time 1.543e-06/1.222, allocations: 0 / 1.18 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.1026/1.324, allocations: 68.2 MB / 1.247 GB, free: 2.801 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches