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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001462/0.001462, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001716/0.001716, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.414/1.414, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.83 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7111, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1891/0.9002, allocations: 192.6 MB / 1.397 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00605/0.9063, allocations: 4.012 MB / 1.4 GB, free: 8.273 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.9071, allocations: 19.88 kB / 1.4 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.9085, allocations: 477 kB / 1.401 GB, free: 7.785 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.9119, allocations: 1.524 MB / 1.402 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.9151, allocations: 1.362 MB / 1.404 GB, free: 4.891 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.9172, allocations: 1.635 MB / 1.405 GB, free: 3.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.9185, allocations: 0.9528 MB / 1.406 GB, free: 2.285 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.9201, allocations: 0.9228 MB / 1.407 GB, free: 1.359 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.9214, allocations: 0.8526 MB / 1.408 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.9216, allocations: 96 kB / 1.408 GB, free: 420 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.9239, allocations: 1.309 MB / 1.409 GB, free: 15.09 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.9243, allocations: 354.9 kB / 1.41 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006311/0.9249, allocations: 0.5133 MB / 1.41 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.9272, allocations: 1.632 MB / 1.412 GB, free: 12.6 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9272, allocations: 0 / 1.412 GB, free: 12.6 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9272, allocations: 0 / 1.412 GB, free: 12.6 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.9273, allocations: 0 / 1.412 GB, free: 12.6 MB / 1.139 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.003132/0.9304, allocations: 1.449 MB / 1.413 GB, free: 11.09 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9304, allocations: 8.031 kB / 1.413 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.9321, allocations: 234.8 kB / 1.413 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.9331, allocations: 0.6187 MB / 1.414 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.9331, allocations: 37 kB / 1.414 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9332, allocations: 48 kB / 1.414 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.9347, allocations: 0.9647 MB / 1.415 GB, free: 9.078 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.9348, allocations: 0 / 1.415 GB, free: 9.078 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.9349, allocations: 27.94 kB / 1.415 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.9349, allocations: 27.98 kB / 1.415 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.9364, allocations: 0.9445 MB / 1.416 GB, free: 8.078 MB / 1.139 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.005221/0.9417, allocations: 4.258 MB / 1.42 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009611/0.9427, allocations: 0.6017 MB / 1.421 GB, free: 3.035 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.9434, allocations: 0.5165 MB / 1.421 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009866/0.9444, allocations: 0.8783 MB / 1.422 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.9445, allocations: 39 kB / 1.422 GB, free: 1.41 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001449/0.9459, allocations: 415.1 kB / 1.423 GB, free: 1.004 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 3.447e-06/0.9459, allocations: 0 / 1.423 GB, free: 1.004 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.01874/0.9647, allocations: 3.833 MB / 1.426 GB, free: 13.12 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.9647, allocations: 59.78 kB / 1.426 GB, free: 13.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/0.9656, allocations: 0.7116 MB / 1.427 GB, free: 12.33 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.9657, allocations: 37.7 kB / 1.427 GB, free: 12.29 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.966, allocations: 328.5 kB / 1.427 GB, free: 11.96 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.9662, allocations: 173.5 kB / 1.428 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.9665, allocations: 150 kB / 1.428 GB, free: 11.64 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9666, allocations: 326 kB / 1.428 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.9673, allocations: 400.9 kB / 1.428 GB, free: 10.92 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.9681, allocations: 489.5 kB / 1.429 GB, free: 10.42 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.9696, allocations: 0.9219 MB / 1.43 GB, free: 9.469 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9696, allocations: 0 / 1.43 GB, free: 9.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01211/0.9817, allocations: 2.556 MB / 1.432 GB, free: 6.895 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9818, allocations: 18.17 kB / 1.432 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9818, allocations: 0 / 1.432 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.992, allocations: 1.726 MB / 1.434 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.9925, allocations: 95.8 kB / 1.434 GB, free: 5.051 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.006, allocations: 7.146 MB / 1.441 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/1.007, allocations: 20.05 kB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.007, allocations: 47.92 kB / 1.441 GB, free: 13.55 MB / 1.17 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.0003801/1.007, allocations: 201.8 kB / 1.441 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/1.007, allocations: 86.97 kB / 1.441 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/1.013, allocations: 1.746 MB / 1.443 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.013, allocations: 3.984 kB / 1.443 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.013, allocations: 0 / 1.443 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/1.013, allocations: 231.9 kB / 1.443 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.013, allocations: 12 kB / 1.443 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/1.014, allocations: 19.98 kB / 1.443 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.014, allocations: 60.45 kB / 1.443 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003461/1.018, allocations: 1.316 MB / 1.445 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002161/1.02, allocations: 1.491 MB / 1.446 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000595/1.02, allocations: 412.3 kB / 1.447 GB, free: 7.91 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006307/1.021, allocations: 0.499 MB / 1.447 GB, free: 7.414 MB / 1.17 GB Notification: Performance of Backend: time 1.9e-07/1.021, allocations: 0 / 1.447 GB, free: 7.414 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004293/1.025, allocations: 1.445 MB / 1.448 GB, free: 5.945 MB / 1.17 GB Notification: Performance of SimCode: time 0.003471/1.029, allocations: 2.282 MB / 1.451 GB, free: 3.633 MB / 1.17 GB Notification: Performance of Templates: time 0.03343/1.062, allocations: 22.48 MB / 1.473 GB, free: 13.35 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches