Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003052/0.003052, allocations: 189.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.178/3.178, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow")
translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 70.31 kB / 1.145 GB, free: 30.59 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4506, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2816/0.7322, allocations: 219.6 MB / 1.53 GB, free: 13.32 MB / 1.232 GB
Notification: Performance of NFInst.instExpressions: time 0.0377/0.7699, allocations: 26.73 MB / 1.557 GB, free: 2.5 MB / 1.248 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.773, allocations: 47.69 kB / 1.557 GB, free: 2.453 MB / 1.248 GB
Notification: Performance of NFTyping.typeComponents: time 0.004582/0.7776, allocations: 1.193 MB / 1.558 GB, free: 1.254 MB / 1.248 GB
Notification: Performance of NFTyping.typeBindings: time 0.01381/0.7914, allocations: 3.232 MB / 1.561 GB, free: 14.01 MB / 1.264 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007774/0.7992, allocations: 1.734 MB / 1.563 GB, free: 12.28 MB / 1.264 GB
Notification: Performance of NFFlatten.flatten: time 0.01023/0.8094, allocations: 3.84 MB / 1.566 GB, free: 8.43 MB / 1.264 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.8127, allocations: 1.136 MB / 1.567 GB, free: 7.258 MB / 1.264 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.007442/0.8201, allocations: 2.397 MB / 1.57 GB, free: 4.852 MB / 1.264 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.003308/0.8234, allocations: 1.541 MB / 1.571 GB, free: 3.305 MB / 1.264 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.8238, allocations: 124 kB / 1.571 GB, free: 3.184 MB / 1.264 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.8285, allocations: 1.902 MB / 1.573 GB, free: 1.277 MB / 1.264 GB
Notification: Performance of NFScalarize.scalarize: time 0.001059/0.8296, allocations: 0.8644 MB / 1.574 GB, free: 420 kB / 1.264 GB
Notification: Performance of NFVerifyModel.verify: time 0.001746/0.8313, allocations: 1.138 MB / 1.575 GB, free: 15.26 MB / 1.279 GB
Notification: Performance of NFConvertDAE.convert: time 0.005766/0.8371, allocations: 2.961 MB / 1.578 GB, free: 12.29 MB / 1.279 GB
Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8371, allocations: 0 / 1.578 GB, free: 12.29 MB / 1.279 GB
Notification: Performance of FrontEnd: time 1.824e-06/0.8371, allocations: 0 / 1.578 GB, free: 12.29 MB / 1.279 GB
Notification: Performance of Transformations before backend: time 6.042e-05/0.8372, allocations: 0 / 1.578 GB, free: 12.29 MB / 1.279 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 343
 * Number of variables: 343
Notification: Performance of Generate backend data structure: time 0.005126/0.8423, allocations: 2.799 MB / 1.581 GB, free: 9.445 MB / 1.279 GB
Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8423, allocations: 8.031 kB / 1.581 GB, free: 9.438 MB / 1.279 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.8443, allocations: 453.9 kB / 1.581 GB, free: 8.992 MB / 1.279 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.847, allocations: 1.428 MB / 1.583 GB, free: 7.508 MB / 1.279 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.8471, allocations: 90.53 kB / 1.583 GB, free: 7.418 MB / 1.279 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.8474, allocations: 131.9 kB / 1.583 GB, free: 7.289 MB / 1.279 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.8499, allocations: 1.595 MB / 1.584 GB, free: 5.551 MB / 1.279 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.85, allocations: 7.938 kB / 1.584 GB, free: 5.543 MB / 1.279 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.8501, allocations: 52 kB / 1.585 GB, free: 5.492 MB / 1.279 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.8502, allocations: 93.95 kB / 1.585 GB, free: 5.398 MB / 1.279 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.8521, allocations: 1.067 MB / 1.586 GB, free: 4.332 MB / 1.279 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009429/0.8615, allocations: 8.033 MB / 1.593 GB, free: 11.79 MB / 1.295 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.8627, allocations: 0.7003 MB / 1.594 GB, free: 11.04 MB / 1.295 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.8631, allocations: 292.1 kB / 1.594 GB, free: 10.74 MB / 1.295 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.8635, allocations: 87.92 kB / 1.595 GB, free: 10.65 MB / 1.295 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.8635, allocations: 38.56 kB / 1.595 GB, free: 10.61 MB / 1.295 GB
Notification: Performance of pre-optimization done (n=50): time 2.846e-06/0.8635, allocations: 3.938 kB / 1.595 GB, free: 10.6 MB / 1.295 GB
Notification: Performance of matching and sorting (n=50): time 0.001887/0.8654, allocations: 0.9818 MB / 1.596 GB, free: 9.613 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/0.8655, allocations: 166.2 kB / 1.596 GB, free: 9.414 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/0.8697, allocations: 3.096 MB / 1.599 GB, free: 6.305 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 9.574e-05/0.8698, allocations: 37.7 kB / 1.599 GB, free: 6.262 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0009792/0.8707, allocations: 1.039 MB / 1.6 GB, free: 5.215 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.8709, allocations: 190.3 kB / 1.6 GB, free: 5.027 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.8711, allocations: 94.19 kB / 1.6 GB, free: 4.93 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.00016/0.8713, allocations: 330 kB / 1.6 GB, free: 4.602 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.8717, allocations: 212.9 kB / 1.601 GB, free: 4.391 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.8722, allocations: 326.2 kB / 1.601 GB, free: 4.039 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000922/0.8731, allocations: 0.5522 MB / 1.601 GB, free: 3.453 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.8731, allocations: 4 kB / 1.601 GB, free: 3.449 MB / 1.295 GB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.00152/0.8746, allocations: 0.8122 MB / 1.602 GB, free: 2.629 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.8746, allocations: 7.938 kB / 1.602 GB, free: 2.621 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8746, allocations: 4 kB / 1.602 GB, free: 2.617 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.8747, allocations: 4 kB / 1.602 GB, free: 2.613 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.8751, allocations: 107.9 kB / 1.602 GB, free: 2.508 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8751, allocations: 7.938 kB / 1.602 GB, free: 2.5 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.8759, allocations: 95.27 kB / 1.602 GB, free: 2.406 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.876, allocations: 20 kB / 1.602 GB, free: 2.387 MB / 1.295 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (58):
 * Single equations (assignments): 58
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0008556/0.8769, allocations: 0.5366 MB / 1.603 GB, free: 1.84 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.8773, allocations: 246.3 kB / 1.603 GB, free: 1.598 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.8787, allocations: 0.7994 MB / 1.604 GB, free: 0.7891 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.8787, allocations: 8 kB / 1.604 GB, free: 0.7812 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8787, allocations: 0 / 1.604 GB, free: 0.7812 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.8787, allocations: 4 kB / 1.604 GB, free: 0.7773 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8604/1.739, allocations: 1.985 MB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/1.739, allocations: 1.844 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/1.74, allocations: 99.08 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.74, allocations: 4.094 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/1.74, allocations: 16.2 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.74, allocations: 5.172 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.74, allocations: 2.125 kB / 1.606 GB, free: 289.2 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/1.742, allocations: 1.28 MB / 1.607 GB, free: 289.1 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.743, allocations: 329.9 kB / 1.608 GB, free: 289 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/1.743, allocations: 11.31 kB / 1.608 GB, free: 289 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/1.744, allocations: 21.31 kB / 1.608 GB, free: 289 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.744, allocations: 42.3 kB / 1.608 GB, free: 289 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/1.744, allocations: 16.78 kB / 1.608 GB, free: 289 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.003651/1.748, allocations: 2.214 MB / 1.61 GB, free: 288.5 MB / 1.295 GB
Notification: Performance of sort global known variables: time 2.51e-07/1.748, allocations: 0.6875 kB / 1.61 GB, free: 288.5 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.001661/1.749, allocations: 468.9 kB / 1.61 GB, free: 288.4 MB / 1.295 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.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 (53):
 * Single equations (assignments): 53
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/1.751, allocations: 0.5354 MB / 1.611 GB, free: 288.3 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.00112/1.752, allocations: 0.5153 MB / 1.611 GB, free: 288.2 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.752, allocations: 5.062 kB / 1.611 GB, free: 288.2 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004524/1.753, allocations: 288.6 kB / 1.612 GB, free: 288.1 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.757, allocations: 0.8526 MB / 1.612 GB, free: 287.9 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/1.765, allocations: 4.268 MB / 1.617 GB, free: 286 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.767, allocations: 1.64 MB / 1.618 GB, free: 285.2 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.002042/1.769, allocations: 447.6 kB / 1.619 GB, free: 285.1 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/1.77, allocations: 143.1 kB / 1.619 GB, free: 285.1 MB / 1.295 GB
Notification: Performance of SimCode: time 1.563e-06/1.77, allocations: 5.125 kB / 1.619 GB, free: 285.1 MB / 1.295 GB
Notification: Performance of Templates: time 0.05845/1.828, allocations: 30.64 MB / 1.649 GB, free: 268.4 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 11.74128208309412]