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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001474/0.001474, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001733/0.001733, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.185/3.185, allocations: 472.7 MB / 0.7447 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.67 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4837, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.133/1.617, allocations: 190.4 MB / 1.253 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007086/1.624, allocations: 4.058 MB / 1.257 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/1.626, allocations: 21.56 kB / 1.257 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/1.627, allocations: 401.9 kB / 1.258 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004741/1.632, allocations: 1.439 MB / 1.259 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/1.636, allocations: 1.244 MB / 1.26 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004199/1.64, allocations: 2.356 MB / 1.263 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/1.642, allocations: 0.8787 MB / 1.264 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/1.644, allocations: 0.864 MB / 1.264 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/1.645, allocations: 0.8823 MB / 1.265 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/1.645, allocations: 75.94 kB / 1.265 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/1.649, allocations: 1.566 MB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004688/1.649, allocations: 339 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007906/1.65, allocations: 0.4919 MB / 1.268 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/1.654, allocations: 1.706 MB / 1.269 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.654, allocations: 2.047 kB / 1.269 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.654, allocations: 0 / 1.269 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.824e-05/1.654, allocations: 4 kB / 1.269 GB, free: 5.18 MB / 0.9981 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.003701/1.657, allocations: 1.452 MB / 1.271 GB, free: 20.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.658, allocations: 9.031 kB / 1.271 GB, free: 20.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.659, allocations: 236.4 kB / 1.271 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/1.66, allocations: 0.5883 MB / 1.272 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/1.66, allocations: 40.7 kB / 1.272 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.66, allocations: 46.28 kB / 1.272 GB, free: 20.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.662, allocations: 0.9675 MB / 1.273 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.662, allocations: 5.234 kB / 1.273 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/1.662, allocations: 20.5 kB / 1.273 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/1.662, allocations: 29.56 kB / 1.273 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/1.664, allocations: 0.9427 MB / 1.274 GB, free: 19.9 MB / 1.014 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.005857/1.67, allocations: 4.256 MB / 1.278 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.671, allocations: 0.6013 MB / 1.278 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/1.672, allocations: 0.5125 MB / 1.279 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.674, allocations: 0.8792 MB / 1.28 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/1.674, allocations: 38.73 kB / 1.28 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001825/1.675, allocations: 437.3 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 4.097e-06/1.675, allocations: 3.781 kB / 1.28 GB, free: 16.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.0174/1.693, allocations: 3.837 MB / 1.284 GB, free: 16.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/1.693, allocations: 63.41 kB / 1.284 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.694, allocations: 0.7044 MB / 1.285 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.694, allocations: 37.92 kB / 1.285 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/1.695, allocations: 320.6 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/1.695, allocations: 178.4 kB / 1.285 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/1.695, allocations: 153.8 kB / 1.285 GB, free: 15.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.695, allocations: 324.7 kB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/1.696, allocations: 396 kB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/1.697, allocations: 493.4 kB / 1.287 GB, free: 15.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.698, allocations: 0.9203 MB / 1.287 GB, free: 15.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.698, allocations: 2.906 kB / 1.287 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01116/1.709, allocations: 2.555 MB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/1.709, allocations: 6.469 kB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.709, allocations: 7.125 kB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009366/1.719, allocations: 1.733 MB / 1.292 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/1.72, allocations: 91.66 kB / 1.292 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/1.733, allocations: 6.66 MB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.735, allocations: 26.69 kB / 1.298 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/1.735, allocations: 47.64 kB / 1.298 GB, free: 12.2 MB / 1.014 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.0008737/1.736, allocations: 216.4 kB / 1.298 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/1.736, allocations: 82.97 kB / 1.299 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/1.743, allocations: 1.74 MB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.743, allocations: 6.875 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/1.743, allocations: 2.75 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.743, allocations: 2.859 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/1.751, allocations: 2.545 MB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.751, allocations: 1.438 kB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/1.751, allocations: 89.8 kB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003736/1.755, allocations: 0.8056 MB / 1.304 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.755, allocations: 24.58 kB / 1.304 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/1.763, allocations: 4.469 MB / 1.308 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.763, allocations: 3.125 kB / 1.308 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00532/1.768, allocations: 2.145 MB / 1.31 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/1.769, allocations: 239.2 kB / 1.31 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/1.769, allocations: 18.91 kB / 1.31 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/1.77, allocations: 33.95 kB / 1.31 GB, free: 8.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.77, allocations: 56.41 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/1.77, allocations: 21.36 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008446/1.771, allocations: 0.4994 MB / 1.311 GB, free: 8.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.771, allocations: 0 / 1.311 GB, free: 8.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001448/1.772, allocations: 284.3 kB / 1.311 GB, free: 8.289 MB / 1.014 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.0006529/1.773, allocations: 225.8 kB / 1.311 GB, free: 8.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003743/1.777, allocations: 1.452 MB / 1.313 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.777, allocations: 3.281 kB / 1.313 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.779, allocations: 0.9267 MB / 1.314 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.781, allocations: 429.5 kB / 1.314 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/1.784, allocations: 1.967 MB / 1.316 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/1.785, allocations: 0.9773 MB / 1.317 GB, free: 5.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008692/1.786, allocations: 165.6 kB / 1.317 GB, free: 5.844 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/1.786, allocations: 68.02 kB / 1.317 GB, free: 5.836 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.786, allocations: 1.094 kB / 1.317 GB, free: 5.836 MB / 1.014 GB Notification: Performance of Templates: time 0.04202/1.828, allocations: 21.67 MB / 1.338 GB, free: 13.8 MB / 1.029 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