Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.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.MoverParameter,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.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,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.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 100 kB / 15.05 MB, free: 1.105 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.001227/0.001227, allocations: 177.3 kB / 15.94 MB, free: 228 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.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.317/2.317, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7661, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverParameter): time 0.07944/0.8456, allocations: 79.45 MB / 1.031 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04213/0.8878, allocations: 26.14 MB / 1.057 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006844/0.8947, allocations: 119.2 kB / 1.057 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007744/0.9025, allocations: 1.594 MB / 1.058 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.9202, allocations: 4.558 MB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.9323, allocations: 3.56 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.9455, allocations: 5.33 MB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.9505, allocations: 2.499 MB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006424/0.957, allocations: 2.702 MB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.9604, allocations: 1.848 MB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.9612, allocations: 156 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/0.9671, allocations: 1.732 MB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.969, allocations: 1.238 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.9707, allocations: 0.9562 MB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007999/0.9787, allocations: 5.712 MB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9788, allocations: 0 / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9788, allocations: 3.938 kB / 1.088 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002041/0.979, allocations: 0 / 1.088 GB, free: 6.285 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.01267/0.9917, allocations: 5.132 MB / 1.093 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9917, allocations: 8.031 kB / 1.093 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009658/1.001, allocations: 1.672 MB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/1.018, allocations: 8.719 MB / 1.103 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007926/1.019, allocations: 300.6 kB / 1.103 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000705/1.019, allocations: 219.9 kB / 1.104 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/1.025, allocations: 2.853 MB / 1.106 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.025, allocations: 8 kB / 1.106 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/1.026, allocations: 79.95 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/1.026, allocations: 48 kB / 1.106 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006101/1.032, allocations: 2.286 MB / 1.109 GB, free: 0.7383 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.02513/1.057, allocations: 12.53 MB / 1.121 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/1.062, allocations: 1.611 MB / 1.122 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008109/1.07, allocations: 4.313 MB / 1.127 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.07, allocations: 39.22 kB / 1.127 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/1.072, allocations: 209.8 kB / 1.127 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=71): time 6.702e-06/1.072, allocations: 0 / 1.127 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=71): time 0.007848/1.08, allocations: 2.522 MB / 1.129 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.08, allocations: 64 kB / 1.129 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/1.091, allocations: 7.032 MB / 1.136 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005372/1.091, allocations: 53.7 kB / 1.136 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.094, allocations: 2.077 MB / 1.138 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006961/1.095, allocations: 256.5 kB / 1.139 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.095, allocations: 32 kB / 1.139 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.095, allocations: 381.9 kB / 1.139 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.098, allocations: 1.105 MB / 1.14 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003873/1.102, allocations: 2.089 MB / 1.142 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/1.105, allocations: 1.283 MB / 1.143 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.105, allocations: 11.94 kB / 1.143 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008561/1.114, allocations: 3.476 MB / 1.147 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.006808/1.12, allocations: 13.69 MB / 1.16 GB, free: 9.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.47e-05/1.121, allocations: 28 kB / 1.16 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.591e-05/1.121, allocations: 44 kB / 1.16 GB, free: 9.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/1.125, allocations: 0.6475 MB / 1.161 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/1.128, allocations: 3.007 MB / 1.164 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/1.133, allocations: 298.2 kB / 1.164 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006584/1.133, allocations: 199.9 kB / 1.164 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.133, allocations: 4 kB / 1.164 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008479/1.142, allocations: 3.417 MB / 1.168 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.142, allocations: 28 kB / 1.168 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-05/1.142, allocations: 44 kB / 1.168 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.145, allocations: 0.6637 MB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.458e-05/1.145, allocations: 59.78 kB / 1.168 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/1.149, allocations: 264.9 kB / 1.169 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004686/1.15, allocations: 184 kB / 1.169 GB, free: 392 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (219): * Single equations (assignments): 211 * 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.002873/1.153, allocations: 1.121 MB / 1.17 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.154, allocations: 430.5 kB / 1.17 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007626/1.162, allocations: 2.544 MB / 1.173 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.162, allocations: 8 kB / 1.173 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.162, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.162, allocations: 7.938 kB / 1.173 GB, free: 12.24 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.01347/1.175, allocations: 5.255 MB / 1.178 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.175, allocations: 4 kB / 1.178 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.177, allocations: 303.7 kB / 1.178 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/1.177, allocations: 145.6 kB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/1.178, allocations: 43.95 kB / 1.178 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.179, allocations: 2.671 MB / 1.181 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.18, allocations: 4.031 kB / 1.181 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.185, allocations: 2.484 MB / 1.184 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.188, allocations: 0.7295 MB / 1.184 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.189, allocations: 20 kB / 1.184 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.192, allocations: 231.6 kB / 1.184 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.192, allocations: 68.86 kB / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.193, allocations: 75.94 kB / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008022/1.201, allocations: 5.052 MB / 1.19 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.786e-06/1.201, allocations: 4 kB / 1.19 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006873/1.207, allocations: 1.719 MB / 1.191 GB, free: 9.133 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * 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.001592/1.209, allocations: 0.6582 MB / 1.192 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.221, allocations: 4.439 MB / 1.196 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.221, allocations: 384 / 1.196 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/1.224, allocations: 0.9038 MB / 1.197 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009811/1.233, allocations: 2.194 MB / 1.199 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/1.251, allocations: 8.052 MB / 1.207 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004083/1.255, allocations: 2.585 MB / 1.21 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.006758/1.262, allocations: 1.184 MB / 1.211 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/1.263, allocations: 359.2 kB / 1.211 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of SimCode: time 9.51e-07/1.263, allocations: 0 / 1.211 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.6881/1.951, allocations: 88.88 MB / 1.298 GB, free: 240.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverParameter.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches