Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008695, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008565/0.008565, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 443.3 MB / 0.7175 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 18.22 kB / 0.8796 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4279, allocations: 155.2 MB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.247/0.6749, allocations: 187.9 MB / 1.215 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007879/0.6829, allocations: 4.009 MB / 1.218 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.6843, allocations: 19.88 kB / 1.219 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.686, allocations: 409.8 kB / 1.219 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.6909, allocations: 1.435 MB / 1.22 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.695, allocations: 1.246 MB / 1.222 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.6984, allocations: 2.349 MB / 1.224 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.6997, allocations: 0.8826 MB / 1.225 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.7015, allocations: 0.8485 MB / 1.225 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.7026, allocations: 0.8643 MB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7028, allocations: 72 kB / 1.226 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.706, allocations: 1.562 MB / 1.228 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.7065, allocations: 334.9 kB / 1.228 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.7071, allocations: 0.5072 MB / 1.229 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.7099, allocations: 1.686 MB / 1.23 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7099, allocations: 0 / 1.23 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.71, allocations: 0 / 1.23 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.71, allocations: 0 / 1.23 GB, free: 7.414 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002628/0.7126, allocations: 1.184 MB / 1.232 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7127, allocations: 12.03 kB / 1.232 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.7142, allocations: 238.7 kB / 1.232 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/0.7151, allocations: 0.5837 MB / 1.232 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.7151, allocations: 37 kB / 1.232 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.7153, allocations: 52 kB / 1.232 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.7168, allocations: 0.9726 MB / 1.233 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.7168, allocations: 3.938 kB / 1.233 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.7169, allocations: 27.94 kB / 1.233 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.717, allocations: 27.98 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.7185, allocations: 0.9485 MB / 1.234 GB, free: 3.164 MB / 0.9825 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.005424/0.7239, allocations: 4.176 MB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/0.7249, allocations: 0.5998 MB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.7257, allocations: 0.5252 MB / 1.24 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.7268, allocations: 0.8939 MB / 1.24 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.7268, allocations: 39 kB / 1.24 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/0.7285, allocations: 363.1 kB / 1.241 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 3.286e-06/0.7285, allocations: 0 / 1.241 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.01753/0.746, allocations: 3.685 MB / 1.244 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.7461, allocations: 71.72 kB / 1.244 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.7474, allocations: 0.7154 MB / 1.245 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.7476, allocations: 33.7 kB / 1.245 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.7479, allocations: 316.7 kB / 1.246 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.7481, allocations: 177.4 kB / 1.246 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7482, allocations: 41.7 kB / 1.246 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7484, allocations: 333.9 kB / 1.246 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/0.7491, allocations: 404.9 kB / 1.246 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.7499, allocations: 489.5 kB / 1.247 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7514, allocations: 0.9336 MB / 1.248 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7515, allocations: 0 / 1.248 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01122/0.7627, allocations: 2.478 MB / 1.25 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.7628, allocations: 4.125 kB / 1.25 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7628, allocations: 8 kB / 1.25 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009309/0.7721, allocations: 1.55 MB / 1.252 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.7728, allocations: 95.81 kB / 1.252 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7525/1.525, allocations: 6.559 MB / 1.258 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.526, allocations: 30.58 kB / 1.258 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.526, allocations: 46.89 kB / 1.258 GB, free: 218.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * 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): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004207/1.527, allocations: 217.4 kB / 1.259 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.527, allocations: 84.56 kB / 1.259 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/1.533, allocations: 1.675 MB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.533, allocations: 6.719 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.533, allocations: 7.188 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.533, allocations: 4.562 kB / 1.26 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/1.54, allocations: 2.483 MB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.54, allocations: 1.438 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/1.54, allocations: 94.75 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003612/1.544, allocations: 0.6663 MB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.544, allocations: 15.14 kB / 1.263 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006442/1.55, allocations: 4.412 MB / 1.268 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.55, allocations: 7.625 kB / 1.268 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/1.556, allocations: 2.092 MB / 1.27 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/1.557, allocations: 236.5 kB / 1.27 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.557, allocations: 13.3 kB / 1.27 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/1.557, allocations: 33.84 kB / 1.27 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.558, allocations: 57.06 kB / 1.27 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/1.558, allocations: 20.33 kB / 1.27 GB, free: 213.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008695/1.558, allocations: 0.4955 MB / 1.271 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.558, allocations: 0 / 1.271 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001368/1.56, allocations: 288.6 kB / 1.271 GB, free: 213 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * 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): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000559/1.56, allocations: 220.1 kB / 1.271 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003545/1.564, allocations: 1.422 MB / 1.273 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.564, allocations: 0 / 1.273 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/1.566, allocations: 0.894 MB / 1.273 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.568, allocations: 437.3 kB / 1.274 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/1.571, allocations: 2.054 MB / 1.276 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/1.572, allocations: 0.9805 MB / 1.277 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006731/1.572, allocations: 163.9 kB / 1.277 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/1.573, allocations: 70.25 kB / 1.277 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.573, allocations: 0 / 1.277 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03558/1.608, allocations: 21.37 MB / 1.298 GB, free: 198.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches