Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 161.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.851/2.851, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.482e-05, allocations: 12.66 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2796/0.2796, allocations: 201.7 MB / 0.9833 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2921, allocations: 6.511 MB / 0.9897 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.2935, allocations: 43.69 kB / 0.9897 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.2957, allocations: 0.7028 MB / 0.9904 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.3034, allocations: 2.876 MB / 0.9932 GB, free: 8.305 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.002/0.3054, allocations: 0.7239 MB / 0.9939 GB, free: 7.582 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004903/0.3103, allocations: 3.409 MB / 0.9972 GB, free: 4.164 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.3119, allocations: 0.8328 MB / 0.9981 GB, free: 3.309 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003743/0.3157, allocations: 1.706 MB / 0.9997 GB, free: 1.598 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.3184, allocations: 1.077 MB / 1.001 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.3187, allocations: 128 kB / 1.001 GB, free: 420 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.3232, allocations: 1.947 MB / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0008327/0.324, allocations: 0.5766 MB / 1.003 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.3252, allocations: 0.538 MB / 1.004 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.3303, allocations: 2.832 MB / 1.007 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3303, allocations: 4 kB / 1.007 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3303, allocations: 0 / 1.007 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.3303, allocations: 0 / 1.007 GB, free: 10.5 MB / 0.9636 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.004691/0.335, allocations: 1.931 MB / 1.009 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3351, allocations: 16.02 kB / 1.009 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.3375, allocations: 454.6 kB / 1.009 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.3393, allocations: 0.8208 MB / 1.01 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3394, allocations: 82 kB / 1.01 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.3396, allocations: 104 kB / 1.01 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3416, allocations: 1.072 MB / 1.011 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.3416, allocations: 4 kB / 1.011 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3417, allocations: 36 kB / 1.011 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.149e-05/0.3418, allocations: 66.02 kB / 1.011 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3436, allocations: 0.8045 MB / 1.012 GB, free: 4.953 MB / 0.9636 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.006919/0.3505, allocations: 3.182 MB / 1.015 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.3518, allocations: 0.5886 MB / 1.016 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/0.3525, allocations: 324.5 kB / 1.016 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.3525, allocations: 20.64 kB / 1.016 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008555/0.3534, allocations: 0.5621 MB / 1.016 GB, free: 160 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 2.364e-06/0.3534, allocations: 4 kB / 1.016 GB, free: 156 kB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.001906/0.3553, allocations: 0.7942 MB / 1.017 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3553, allocations: 60.06 kB / 1.017 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/0.3562, allocations: 0.647 MB / 1.018 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.3563, allocations: 37.7 kB / 1.018 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.3568, allocations: 0.5462 MB / 1.019 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.3571, allocations: 305.7 kB / 1.019 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.3574, allocations: 168.3 kB / 1.019 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004029/0.3578, allocations: 0.6094 MB / 1.02 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.3582, allocations: 189.9 kB / 1.02 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.3588, allocations: 370.7 kB / 1.02 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.36, allocations: 0.5988 MB / 1.021 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.36, allocations: 0 / 1.021 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001383/0.3614, allocations: 0.688 MB / 1.021 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3614, allocations: 8 kB / 1.021 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3614, allocations: 3.984 kB / 1.021 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.3615, allocations: 8.344 kB / 1.021 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.3622, allocations: 159.8 kB / 1.022 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3622, allocations: 11.94 kB / 1.022 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.3629, allocations: 51.62 kB / 1.022 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.363, allocations: 27.98 kB / 1.022 GB, free: 10.72 MB / 0.9792 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.0004458/0.3634, allocations: 288.4 kB / 1.022 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.3636, allocations: 99.53 kB / 1.022 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3639, allocations: 103.2 kB / 1.022 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3639, allocations: 8 kB / 1.022 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3639, allocations: 0 / 1.022 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.3651, allocations: 0.8469 MB / 1.023 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.3685, allocations: 1.795 MB / 1.025 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3685, allocations: 0 / 1.025 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.3695, allocations: 175.7 kB / 1.025 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3695, allocations: 4 kB / 1.025 GB, free: 7.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.3695, allocations: 16 kB / 1.025 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3695, allocations: 8.031 kB / 1.025 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3695, allocations: 0 / 1.025 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.3714, allocations: 1.054 MB / 1.026 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.3718, allocations: 167.3 kB / 1.026 GB, free: 5.988 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3719, allocations: 16 kB / 1.026 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.3725, allocations: 28.05 kB / 1.026 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3727, allocations: 44.56 kB / 1.026 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.3727, allocations: 23.98 kB / 1.026 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005453/0.3733, allocations: 410.8 kB / 1.027 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 0 / 1.027 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0009742/0.3742, allocations: 383.2 kB / 1.027 GB, free: 5.105 MB / 0.9792 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.0003077/0.3745, allocations: 175.1 kB / 1.027 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.376, allocations: 0.5615 MB / 1.028 GB, free: 4.359 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.376, allocations: 0 / 1.028 GB, free: 4.359 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.3766, allocations: 316.5 kB / 1.028 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.3794, allocations: 0.5455 MB / 1.028 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.3827, allocations: 1.864 MB / 1.03 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.3834, allocations: 0.5152 MB / 1.031 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.3841, allocations: 226.5 kB / 1.031 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3844, allocations: 68.5 kB / 1.031 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of SimCode: time 1.092e-06/0.3844, allocations: 0 / 1.031 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of Templates: time 0.3432/0.7276, allocations: 18.39 MB / 1.049 GB, free: 301.9 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.004264226998203]