Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001516/0.001516, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001769/0.001769, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 55.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.7009, allocations: 151.7 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.188/0.889, allocations: 192.6 MB / 1.355 GB, free: 2.496 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.895, allocations: 4.018 MB / 1.359 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.8958, allocations: 23.88 kB / 1.359 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.897, allocations: 489 kB / 1.36 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.9005, allocations: 1.591 MB / 1.361 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.9038, allocations: 1.38 MB / 1.363 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00201/0.9058, allocations: 1.639 MB / 1.364 GB, free: 9.344 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.9071, allocations: 0.9489 MB / 1.365 GB, free: 8.383 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.9086, allocations: 0.9384 MB / 1.366 GB, free: 7.441 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.9098, allocations: 0.8565 MB / 1.367 GB, free: 6.582 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.9101, allocations: 96 kB / 1.367 GB, free: 6.488 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.9125, allocations: 1.317 MB / 1.368 GB, free: 5.168 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.9129, allocations: 355 kB / 1.369 GB, free: 4.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.9135, allocations: 0.5094 MB / 1.369 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.9158, allocations: 1.632 MB / 1.371 GB, free: 2.672 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.9158, allocations: 0 / 1.371 GB, free: 2.672 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9158, allocations: 0 / 1.371 GB, free: 2.672 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.9158, allocations: 0 / 1.371 GB, free: 2.672 MB / 1.092 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.003093/0.9189, allocations: 1.452 MB / 1.372 GB, free: 1.168 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.9189, allocations: 8.031 kB / 1.372 GB, free: 1.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.9206, allocations: 234.8 kB / 1.372 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.9216, allocations: 0.6148 MB / 1.373 GB, free: 280 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.9216, allocations: 41 kB / 1.373 GB, free: 236 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.9217, allocations: 48 kB / 1.373 GB, free: 188 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.9232, allocations: 0.9609 MB / 1.374 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.9232, allocations: 7.984 kB / 1.374 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.9233, allocations: 24 kB / 1.374 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.9234, allocations: 27.94 kB / 1.374 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.9249, allocations: 0.9367 MB / 1.375 GB, free: 14.16 MB / 1.107 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.00527/0.9302, allocations: 4.258 MB / 1.379 GB, free: 9.727 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.9311, allocations: 0.6 MB / 1.38 GB, free: 9.121 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.9319, allocations: 0.5136 MB / 1.38 GB, free: 8.602 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009581/0.9329, allocations: 0.8782 MB / 1.381 GB, free: 7.539 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.9329, allocations: 39 kB / 1.381 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001474/0.9344, allocations: 415.1 kB / 1.382 GB, free: 7.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 5.54e-06/0.9344, allocations: 11.92 kB / 1.382 GB, free: 7.074 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01881/0.9532, allocations: 3.829 MB / 1.385 GB, free: 3.195 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9533, allocations: 59.78 kB / 1.385 GB, free: 3.125 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.9542, allocations: 0.7116 MB / 1.386 GB, free: 2.406 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.9543, allocations: 37.7 kB / 1.386 GB, free: 2.363 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.9545, allocations: 316.6 kB / 1.386 GB, free: 2.051 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.9547, allocations: 173.5 kB / 1.387 GB, free: 1.879 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.955, allocations: 154 kB / 1.387 GB, free: 1.723 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9551, allocations: 330 kB / 1.387 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.9557, allocations: 396.9 kB / 1.387 GB, free: 1.004 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.9565, allocations: 493.4 kB / 1.388 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.958, allocations: 0.918 MB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.958, allocations: 4 kB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01221/0.9702, allocations: 2.564 MB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.9703, allocations: 8 kB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.9703, allocations: 0 / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/0.9806, allocations: 1.726 MB / 1.393 GB, free: 11.22 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.9811, allocations: 99.8 kB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.9942, allocations: 7.141 MB / 1.4 GB, free: 3.688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.9951, allocations: 20.05 kB / 1.4 GB, free: 3.668 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.9952, allocations: 43.94 kB / 1.4 GB, free: 3.625 MB / 1.123 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.0004065/0.9956, allocations: 201.8 kB / 1.4 GB, free: 3.418 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.9959, allocations: 86.95 kB / 1.4 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/1.001, allocations: 1.738 MB / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.001, allocations: 0 / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.001, allocations: 256 / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/1.002, allocations: 239.9 kB / 1.402 GB, free: 1.324 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.002, allocations: 16 kB / 1.402 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/1.002, allocations: 19.98 kB / 1.402 GB, free: 1.289 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.003, allocations: 56.47 kB / 1.402 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003467/1.006, allocations: 1.316 MB / 1.404 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002154/1.008, allocations: 1.495 MB / 1.405 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005992/1.009, allocations: 408.3 kB / 1.406 GB, free: 13.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006013/1.01, allocations: 0.499 MB / 1.406 GB, free: 13.49 MB / 1.139 GB Notification: Performance of Backend: time 3.51e-07/1.01, allocations: 0 / 1.406 GB, free: 13.49 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004299/1.014, allocations: 1.47 MB / 1.407 GB, free: 12 MB / 1.139 GB Notification: Performance of SimCode: time 0.003303/1.017, allocations: 2.279 MB / 1.41 GB, free: 9.688 MB / 1.139 GB Notification: Performance of Templates: time 0.03398/1.051, allocations: 22.48 MB / 1.432 GB, free: 3.414 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches