Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.00143/0.00143, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001785/0.001785, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.508/1.508, allocations: 225.6 MB / 250.8 MB, free: 13.1 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.22/3.22, allocations: 495.8 MB / 0.783 GB, free: 33.55 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-maint.12.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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow")
translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.95 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4477, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2696/0.7173, allocations: 203.2 MB / 1.505 GB, free: 5.883 MB / 1.201 GB
Notification: Performance of NFInst.instExpressions: time 0.01218/0.7295, allocations: 6.378 MB / 1.511 GB, free: 15.48 MB / 1.217 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.7317, allocations: 51.62 kB / 1.511 GB, free: 15.43 MB / 1.217 GB
Notification: Performance of NFTyping.typeComponents: time 0.002619/0.7343, allocations: 0.7655 MB / 1.512 GB, free: 14.66 MB / 1.217 GB
Notification: Performance of NFTyping.typeBindings: time 0.00987/0.7442, allocations: 2.829 MB / 1.515 GB, free: 11.82 MB / 1.217 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'.
Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.7471, allocations: 0.7421 MB / 1.516 GB, free: 11.09 MB / 1.217 GB
Notification: Performance of NFFlatten.flatten: time 0.006091/0.7532, allocations: 3.356 MB / 1.519 GB, free: 7.719 MB / 1.217 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.7549, allocations: 0.8129 MB / 1.52 GB, free: 6.883 MB / 1.217 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.7588, allocations: 1.429 MB / 1.521 GB, free: 5.449 MB / 1.217 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.762, allocations: 1.156 MB / 1.522 GB, free: 4.297 MB / 1.217 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.7623, allocations: 128 kB / 1.522 GB, free: 4.172 MB / 1.217 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.7677, allocations: 1.924 MB / 1.524 GB, free: 2.242 MB / 1.217 GB
Notification: Performance of NFScalarize.scalarize: time 0.0008726/0.7685, allocations: 0.5297 MB / 1.525 GB, free: 1.711 MB / 1.217 GB
Notification: Performance of NFVerifyModel.verify: time 0.001423/0.7699, allocations: 0.7352 MB / 1.526 GB, free: 0.9727 MB / 1.217 GB
Notification: Performance of NFConvertDAE.convert: time 0.006842/0.7768, allocations: 2.71 MB / 1.528 GB, free: 14.25 MB / 1.232 GB
Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7768, allocations: 0 / 1.528 GB, free: 14.25 MB / 1.232 GB
Notification: Performance of FrontEnd: time 2.815e-06/0.7768, allocations: 0 / 1.528 GB, free: 14.25 MB / 1.232 GB
Notification: Performance of Transformations before backend: time 4.225e-05/0.7768, allocations: 0 / 1.528 GB, free: 14.25 MB / 1.232 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 265
 * Number of variables: 265
Notification: Performance of Generate backend data structure: time 0.004877/0.7817, allocations: 1.734 MB / 1.53 GB, free: 12.48 MB / 1.232 GB
Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7818, allocations: 8.031 kB / 1.53 GB, free: 12.47 MB / 1.232 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.7841, allocations: 354.9 kB / 1.53 GB, free: 12.12 MB / 1.232 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.786, allocations: 0.8141 MB / 1.531 GB, free: 11.28 MB / 1.232 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/0.7861, allocations: 78.02 kB / 1.531 GB, free: 11.2 MB / 1.232 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.7863, allocations: 104 kB / 1.531 GB, free: 11.1 MB / 1.232 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.7886, allocations: 1.187 MB / 1.532 GB, free: 9.883 MB / 1.232 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.7886, allocations: 4 kB / 1.532 GB, free: 9.879 MB / 1.232 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.7887, allocations: 36 kB / 1.532 GB, free: 9.844 MB / 1.232 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.5e-05/0.7888, allocations: 58.08 kB / 1.532 GB, free: 9.785 MB / 1.232 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.791, allocations: 1.253 MB / 1.534 GB, free: 8.523 MB / 1.232 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.008667/0.7996, allocations: 5.19 MB / 1.539 GB, free: 2.844 MB / 1.232 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.8012, allocations: 0.8358 MB / 1.54 GB, free: 2 MB / 1.232 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/0.8019, allocations: 493.2 kB / 1.54 GB, free: 1.52 MB / 1.232 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.802, allocations: 12.8 kB / 1.54 GB, free: 1.508 MB / 1.232 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.8029, allocations: 488.2 kB / 1.54 GB, free: 1.016 MB / 1.232 GB
Notification: Performance of pre-optimization done (n=76): time 4.118e-06/0.8029, allocations: 0 / 1.54 GB, free: 1.016 MB / 1.232 GB
Notification: Performance of matching and sorting (n=76): time 0.002304/0.8052, allocations: 1.165 MB / 1.542 GB, free: 15.84 MB / 1.248 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.8052, allocations: 68.06 kB / 1.542 GB, free: 15.77 MB / 1.248 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.806, allocations: 0.5783 MB / 1.542 GB, free: 15.18 MB / 1.248 GB
Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.8061, allocations: 37.7 kB / 1.542 GB, free: 15.14 MB / 1.248 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.8065, allocations: 464.7 kB / 1.543 GB, free: 14.68 MB / 1.248 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.8068, allocations: 289.5 kB / 1.543 GB, free: 14.39 MB / 1.248 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.807, allocations: 126.6 kB / 1.543 GB, free: 14.26 MB / 1.248 GB
Notification: Performance of setup shared object (initialization): time 0.0002128/0.8072, allocations: 390.7 kB / 1.543 GB, free: 13.87 MB / 1.248 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.8077, allocations: 337.8 kB / 1.544 GB, free: 13.54 MB / 1.248 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.8083, allocations: 448.7 kB / 1.544 GB, free: 13.07 MB / 1.248 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8095, allocations: 0.8232 MB / 1.545 GB, free: 12.21 MB / 1.248 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.8095, allocations: 0 / 1.545 GB, free: 12.21 MB / 1.248 GB
Notification: Performance of matching and sorting (n=91) (initialization): time 0.001514/0.8111, allocations: 0.93 MB / 1.546 GB, free: 11.27 MB / 1.248 GB
Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8111, allocations: 8 kB / 1.546 GB, free: 11.26 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8111, allocations: 8.281 kB / 1.546 GB, free: 11.25 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.8111, allocations: 8 kB / 1.546 GB, free: 11.25 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.8118, allocations: 163.7 kB / 1.546 GB, free: 11.09 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.8118, allocations: 4 kB / 1.546 GB, free: 11.08 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.8127, allocations: 63.52 kB / 1.546 GB, free: 11.02 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.8127, allocations: 24 kB / 1.546 GB, free: 11 MB / 1.248 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (91):
 * Single equations (assignments): 91
 * 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.0006251/0.8133, allocations: 325.6 kB / 1.547 GB, free: 10.67 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.8135, allocations: 83.52 kB / 1.547 GB, free: 10.59 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.8137, allocations: 119.7 kB / 1.547 GB, free: 10.46 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8138, allocations: 8 kB / 1.547 GB, free: 10.46 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.8138, allocations: 3.938 kB / 1.547 GB, free: 10.45 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.8152, allocations: 1.093 MB / 1.548 GB, free: 9.273 MB / 1.248 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 postOpt removeSimpleEquations (simulation): time 0.003733/0.819, allocations: 2.275 MB / 1.55 GB, free: 6.918 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.819, allocations: 0 / 1.55 GB, free: 6.918 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.8198, allocations: 175.9 kB / 1.55 GB, free: 6.746 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8198, allocations: 0 / 1.55 GB, free: 6.746 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.8199, allocations: 27.92 kB / 1.55 GB, free: 6.719 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.8199, allocations: 4 kB / 1.55 GB, free: 6.715 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8199, allocations: 0 / 1.55 GB, free: 6.715 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.8219, allocations: 1.356 MB / 1.552 GB, free: 5.34 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.8224, allocations: 179.3 kB / 1.552 GB, free: 5.164 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8225, allocations: 16 kB / 1.552 GB, free: 5.148 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.8231, allocations: 24.92 kB / 1.552 GB, free: 5.125 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.8232, allocations: 44.56 kB / 1.552 GB, free: 5.082 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.8233, allocations: 24 kB / 1.552 GB, free: 5.059 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.0006193/0.8239, allocations: 419 kB / 1.552 GB, free: 4.652 MB / 1.248 GB
Notification: Performance of sort global known variables: time 8e-08/0.8239, allocations: 0 / 1.552 GB, free: 4.652 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.001167/0.8251, allocations: 375.2 kB / 1.553 GB, free: 4.285 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m)
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (76):
 * Single equations (assignments): 76
 * 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.0003799/0.8254, allocations: 178.9 kB / 1.553 GB, free: 4.105 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.001338/0.8268, allocations: 0.771 MB / 1.554 GB, free: 3.332 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8268, allocations: 0 / 1.554 GB, free: 3.332 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.8273, allocations: 407.5 kB / 1.554 GB, free: 2.938 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.83, allocations: 0.5927 MB / 1.554 GB, free: 2.359 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.8339, allocations: 2.194 MB / 1.557 GB, free: 132 kB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/0.8347, allocations: 1.139 MB / 1.558 GB, free: 14.96 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.0009892/0.8357, allocations: 279.1 kB / 1.558 GB, free: 14.68 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.8359, allocations: 79.42 kB / 1.558 GB, free: 14.61 MB / 1.264 GB
Notification: Performance of SimCode: time 2.074e-06/0.8359, allocations: 0 / 1.558 GB, free: 14.61 MB / 1.264 GB
Notification: Performance of Templates: time 0.03777/0.8737, allocations: 19.88 MB / 1.577 GB, free: 10.96 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 10.547375604510307]