Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.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.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.426 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.43/2.43, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7738, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.08268/0.8565, allocations: 87.61 MB / 1.04 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03707/0.8936, allocations: 28.71 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006777/0.9004, allocations: 131.2 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.9064, allocations: 1.378 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.9186, allocations: 3.667 MB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008886/0.9275, allocations: 2.913 MB / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01414/0.9417, allocations: 10.25 MB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004821/0.9465, allocations: 2.626 MB / 1.088 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007071/0.9536, allocations: 3.116 MB / 1.092 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.9589, allocations: 2.751 MB / 1.094 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.9603, allocations: 172 kB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005932/0.9663, allocations: 1.879 MB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.9687, allocations: 1.417 MB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.9712, allocations: 0.9834 MB / 1.099 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008916/0.9802, allocations: 6.004 MB / 1.104 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9802, allocations: 4 kB / 1.104 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9802, allocations: 0 / 1.104 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003211/0.9806, allocations: 4 kB / 1.104 GB, free: 5.535 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01339/0.9939, allocations: 5.298 MB / 1.11 GB, free: 156 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.994, allocations: 12.03 kB / 1.11 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/1.003, allocations: 1.683 MB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/1.016, allocations: 5.203 MB / 1.116 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/1.016, allocations: 312.9 kB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009607/1.017, allocations: 236 kB / 1.117 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008976/1.026, allocations: 3.223 MB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/1.026, allocations: 3.938 kB / 1.12 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/1.027, allocations: 87.95 kB / 1.12 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/1.027, allocations: 48 kB / 1.12 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/1.035, allocations: 2.611 MB / 1.123 GB, free: 2.531 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 removeSimpleEquations (simulation): time 0.0251/1.06, allocations: 12.83 MB / 1.135 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005667/1.065, allocations: 2.131 MB / 1.137 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/1.068, allocations: 0.9576 MB / 1.138 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008578/1.076, allocations: 4.635 MB / 1.143 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003002/1.079, allocations: 1.531 MB / 1.144 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001809/1.081, allocations: 210.1 kB / 1.144 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=87): time 5.13e-06/1.081, allocations: 0 / 1.144 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.009215/1.09, allocations: 3.118 MB / 1.148 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.091, allocations: 111.8 kB / 1.148 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.103, allocations: 4.922 MB / 1.152 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005936/1.104, allocations: 57.7 kB / 1.152 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002635/1.106, allocations: 2.121 MB / 1.155 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006794/1.107, allocations: 295.8 kB / 1.155 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/1.107, allocations: 39.98 kB / 1.155 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002271/1.108, allocations: 385.8 kB / 1.155 GB, free: 228 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/1.111, allocations: 1.238 MB / 1.156 GB, free: 14.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/1.114, allocations: 2.216 MB / 1.159 GB, free: 12.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.118, allocations: 1.408 MB / 1.16 GB, free: 10.89 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-05/1.118, allocations: 11.94 kB / 1.16 GB, free: 10.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009122/1.127, allocations: 3.724 MB / 1.164 GB, free: 7.145 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008203/1.128, allocations: 0.9261 MB / 1.165 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/1.128, allocations: 28 kB / 1.165 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.498e-05/1.128, allocations: 44 kB / 1.165 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/1.132, allocations: 0.6552 MB / 1.165 GB, free: 5.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/1.134, allocations: 2.996 MB / 1.168 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/1.139, allocations: 265.4 kB / 1.168 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007149/1.14, allocations: 183.9 kB / 1.169 GB, free: 1.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.14, allocations: 4 kB / 1.169 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008125/1.148, allocations: 3.668 MB / 1.172 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/1.148, allocations: 28 kB / 1.172 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.666e-05/1.148, allocations: 44 kB / 1.172 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/1.151, allocations: 0.6674 MB / 1.173 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-05/1.151, allocations: 55.8 kB / 1.173 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.155, allocations: 249.2 kB / 1.173 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/1.155, allocations: 179.9 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 218 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003011/1.159, allocations: 1.168 MB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.16, allocations: 426.4 kB / 1.175 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008103/1.168, allocations: 2.924 MB / 1.178 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/1.168, allocations: 15.94 kB / 1.178 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/1.168, allocations: 0 / 1.178 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.168, allocations: 11.92 kB / 1.178 GB, free: 8.113 MB / 0.9356 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.01397/1.182, allocations: 5.577 MB / 1.183 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.182, allocations: 0 / 1.183 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.184, allocations: 339.6 kB / 1.184 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/1.184, allocations: 141.6 kB / 1.184 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.185, allocations: 43.94 kB / 1.184 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/1.186, allocations: 2.671 MB / 1.186 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.186, allocations: 4.031 kB / 1.186 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/1.193, allocations: 2.672 MB / 1.189 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/1.196, allocations: 0.7059 MB / 1.19 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.197, allocations: 16 kB / 1.19 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.2, allocations: 235.6 kB / 1.19 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.2, allocations: 84.88 kB / 1.19 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.2, allocations: 67.94 kB / 1.19 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.006358/1.207, allocations: 3.361 MB / 1.193 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.207, allocations: 0 / 1.193 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006524/1.213, allocations: 1.766 MB / 1.195 GB, free: 6.223 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002434/1.216, allocations: 0.9202 MB / 1.196 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.228, allocations: 4.907 MB / 1.201 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.228, allocations: 1 kB / 1.201 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.231, allocations: 1.146 MB / 1.202 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/1.242, allocations: 2.195 MB / 1.204 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/1.261, allocations: 8.686 MB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004149/1.265, allocations: 2.617 MB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006721/1.272, allocations: 1.149 MB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.273, allocations: 315.3 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/1.273, allocations: 8 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of Templates: time 0.6659/1.939, allocations: 87.92 MB / 1.302 GB, free: 236.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverStages.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches