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.001102/0.001102, allocations: 92.31 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.001919/0.001919, allocations: 177.3 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.285 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.427/2.427, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7731, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.09031/0.8635, allocations: 92.79 MB / 1.046 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04908/0.9126, allocations: 30.33 MB / 1.076 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007245/0.9199, allocations: 135.2 kB / 1.076 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006545/0.9265, allocations: 1.747 MB / 1.078 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.9401, allocations: 4.222 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009833/0.9499, allocations: 3.45 MB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01625/0.9662, allocations: 11.99 MB / 1.097 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006924/0.9731, allocations: 2.892 MB / 1.1 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008692/0.9819, allocations: 3.224 MB / 1.103 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.9873, allocations: 2.831 MB / 1.106 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.9887, allocations: 164 kB / 1.106 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007499/0.9962, allocations: 2.452 MB / 1.108 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002686/0.9989, allocations: 1.413 MB / 1.11 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005194/1.004, allocations: 2.332 MB / 1.112 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009314/1.013, allocations: 6.055 MB / 1.118 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.014, allocations: 0 / 1.118 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.865e-06/1.014, allocations: 0 / 1.118 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002826/1.014, allocations: 3.938 kB / 1.118 GB, free: 8.828 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01255/1.026, allocations: 5.246 MB / 1.123 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.026, allocations: 8.031 kB / 1.123 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009433/1.036, allocations: 1.684 MB / 1.125 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.05, allocations: 5.347 MB / 1.13 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009168/1.051, allocations: 316.9 kB / 1.13 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009708/1.052, allocations: 228 kB / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008663/1.061, allocations: 3.207 MB / 1.133 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.441e-05/1.061, allocations: 4 kB / 1.133 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005123/1.062, allocations: 84 kB / 1.134 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/1.062, allocations: 52 kB / 1.134 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007422/1.069, allocations: 2.533 MB / 1.136 GB, free: 5.832 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.02485/1.094, allocations: 12.75 MB / 1.149 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/1.1, allocations: 2.106 MB / 1.151 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002461/1.103, allocations: 0.9297 MB / 1.151 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008016/1.111, allocations: 4.577 MB / 1.156 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003062/1.114, allocations: 1.496 MB / 1.157 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001809/1.116, allocations: 206.1 kB / 1.158 GB, free: 14.83 MB / 0.92 GB Notification: Performance of pre-optimization done (n=87): time 4.368e-06/1.116, allocations: 0 / 1.158 GB, free: 14.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.008212/1.124, allocations: 3.052 MB / 1.161 GB, free: 11.76 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.124, allocations: 111.8 kB / 1.161 GB, free: 11.63 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00755/1.131, allocations: 4.949 MB / 1.166 GB, free: 6.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000431/1.132, allocations: 61.7 kB / 1.166 GB, free: 6.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/1.134, allocations: 2.117 MB / 1.168 GB, free: 4.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/1.135, allocations: 303.7 kB / 1.168 GB, free: 4.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/1.135, allocations: 205.6 kB / 1.168 GB, free: 3.992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.135, allocations: 305.1 kB / 1.168 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/1.139, allocations: 1.714 MB / 1.17 GB, free: 1.965 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/1.143, allocations: 2.67 MB / 1.173 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/1.151, allocations: 4.284 MB / 1.177 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/1.151, allocations: 8 kB / 1.177 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01033/1.161, allocations: 4.68 MB / 1.181 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008749/1.162, allocations: 0.9294 MB / 1.182 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/1.162, allocations: 32 kB / 1.182 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.476e-05/1.162, allocations: 40 kB / 1.182 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.166, allocations: 0.6318 MB / 1.183 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/1.169, allocations: 2.988 MB / 1.186 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/1.173, allocations: 252.3 kB / 1.186 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/1.173, allocations: 180 kB / 1.186 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.173, allocations: 4 kB / 1.186 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007695/1.181, allocations: 3.669 MB / 1.19 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.444e-05/1.181, allocations: 28 kB / 1.19 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.201e-05/1.181, allocations: 40 kB / 1.19 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.184, allocations: 0.6593 MB / 1.191 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/1.184, allocations: 59.78 kB / 1.191 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/1.188, allocations: 240.3 kB / 1.191 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/1.188, allocations: 180 kB / 1.191 GB, free: 11.06 MB / 0.9512 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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002622/1.191, allocations: 1.172 MB / 1.192 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009613/1.192, allocations: 430.5 kB / 1.193 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00735/1.199, allocations: 2.858 MB / 1.196 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.199, allocations: 16 kB / 1.196 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.199, allocations: 0 / 1.196 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.199, allocations: 11.97 kB / 1.196 GB, free: 6.547 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.01266/1.212, allocations: 5.514 MB / 1.201 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.212, allocations: 0 / 1.201 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.214, allocations: 323.7 kB / 1.201 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/1.214, allocations: 145.6 kB / 1.201 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.214, allocations: 43.89 kB / 1.201 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/1.216, allocations: 2.667 MB / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.216, allocations: 0 / 1.204 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/1.223, allocations: 2.629 MB / 1.207 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.225, allocations: 0.6982 MB / 1.207 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007365/1.225, allocations: 23.98 kB / 1.207 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.228, allocations: 219.7 kB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.228, allocations: 80.83 kB / 1.208 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.228, allocations: 67.94 kB / 1.208 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005888/1.234, allocations: 3.388 MB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.51e-07/1.234, allocations: 4 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006565/1.241, allocations: 1.762 MB / 1.213 GB, free: 4.773 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: 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/1.243, allocations: 0.9439 MB / 1.214 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.256, allocations: 5.346 MB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.256, allocations: 0 / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/1.259, allocations: 1.103 MB / 1.22 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/1.271, allocations: 2.153 MB / 1.222 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.288, allocations: 9.093 MB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/1.291, allocations: 2.578 MB / 1.233 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.292, allocations: 331.3 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of SimCode: time 2.535e-06/1.292, allocations: 0 / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of Templates: time 0.7091/2.001, allocations: 150.7 MB / 1.381 GB, free: 151.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches