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.0009716/0.0009716, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009852/0.0009852, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9265/0.9265, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] 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 1.834/1.834, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|rooB.Xi.[0-9,]+.|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.[0-9,]+.|rooB.Xi.[0-9,]+.|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.345e-06/2.345e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.698e-05, allocations: 13.86 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1469/0.147, allocations: 151.7 MB / 0.9352 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006524/0.1535, allocations: 3.732 MB / 0.9389 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.1549, allocations: 51.62 kB / 0.9389 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.156, allocations: 305.9 kB / 0.9392 GB, free: 224 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.159, allocations: 1.379 MB / 0.9406 GB, free: 14.83 MB / 0.9011 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.001277/0.1603, allocations: 0.5559 MB / 0.9411 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004212/0.1645, allocations: 3.308 MB / 0.9443 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.1659, allocations: 0.8483 MB / 0.9452 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.1689, allocations: 1.496 MB / 0.9466 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.1712, allocations: 1.077 MB / 0.9477 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.1716, allocations: 128 kB / 0.9478 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1729, allocations: 458.9 kB / 0.9482 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0009057/0.1738, allocations: 0.5766 MB / 0.9488 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.1748, allocations: 0.538 MB / 0.9493 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.1772, allocations: 1.332 MB / 0.9506 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1772, allocations: 0 / 0.9506 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1772, allocations: 0 / 0.9506 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.1772, allocations: 0 / 0.9506 GB, free: 4.496 MB / 0.9011 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.002983/0.1802, allocations: 1.714 MB / 0.9523 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1803, allocations: 12.03 kB / 0.9523 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.1818, allocations: 467.2 kB / 0.9528 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1831, allocations: 0.813 MB / 0.9536 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.1832, allocations: 78 kB / 0.9536 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1833, allocations: 100 kB / 0.9537 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.1846, allocations: 0.8691 MB / 0.9546 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.1846, allocations: 3.953 kB / 0.9546 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.1847, allocations: 40 kB / 0.9546 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.1847, allocations: 66.06 kB / 0.9547 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.1857, allocations: 0.4962 MB / 0.9552 GB, free: 15.68 MB / 0.9167 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.004256/0.1899, allocations: 2.585 MB / 0.9577 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.1907, allocations: 0.4884 MB / 0.9582 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.1911, allocations: 256.5 kB / 0.9584 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.1911, allocations: 20.59 kB / 0.9584 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.1918, allocations: 499.5 kB / 0.9589 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 4.789e-06/0.1918, allocations: 0 / 0.9589 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.001134/0.1929, allocations: 0.6341 MB / 0.9595 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1929, allocations: 67.98 kB / 0.9596 GB, free: 11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.1934, allocations: 0.5143 MB / 0.9601 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.1935, allocations: 41.7 kB / 0.9601 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.1938, allocations: 0.5229 MB / 0.9606 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.194, allocations: 285.5 kB / 0.9609 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1942, allocations: 140.3 kB / 0.961 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1944, allocations: 0.5586 MB / 0.9616 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1946, allocations: 125.9 kB / 0.9617 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1949, allocations: 286.8 kB / 0.962 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.1957, allocations: 457.2 kB / 0.9624 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.1957, allocations: 3.938 kB / 0.9624 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008381/0.1965, allocations: 0.5672 MB / 0.963 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1966, allocations: 4 kB / 0.963 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1966, allocations: 4 kB / 0.963 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1966, allocations: 4 kB / 0.963 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.197, allocations: 155.8 kB / 0.9631 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.197, allocations: 11.88 kB / 0.9631 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.1975, allocations: 59.62 kB / 0.9632 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.1975, allocations: 31.98 kB / 0.9632 GB, free: 7.109 MB / 0.9167 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.0003122/0.1979, allocations: 188.5 kB / 0.9634 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.198, allocations: 107.6 kB / 0.9635 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1981, allocations: 99.23 kB / 0.9636 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1981, allocations: 8 kB / 0.9636 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1981, allocations: 3.938 kB / 0.9636 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006853/0.1988, allocations: 0.7298 MB / 0.9643 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2009, allocations: 1.498 MB / 0.9658 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2009, allocations: 7.922 kB / 0.9658 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.2014, allocations: 179.8 kB / 0.966 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2014, allocations: 3.984 kB / 0.966 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.2015, allocations: 16 kB / 0.966 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2015, allocations: 4 kB / 0.966 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2015, allocations: 3.938 kB / 0.966 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2025, allocations: 0.828 MB / 0.9668 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.2029, allocations: 167.3 kB / 0.967 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.2029, allocations: 15.98 kB / 0.967 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2033, allocations: 20 kB / 0.967 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.2033, allocations: 48.56 kB / 0.9671 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.2034, allocations: 31.98 kB / 0.9671 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002909/0.2037, allocations: 330.8 kB / 0.9674 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2037, allocations: 0 / 0.9674 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007734/0.2044, allocations: 383.1 kB / 0.9678 GB, free: 2.285 MB / 0.9167 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.0002097/0.2046, allocations: 123.2 kB / 0.9679 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007042/0.2053, allocations: 443 kB / 0.9683 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2053, allocations: 0 / 0.9683 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2056, allocations: 248.6 kB / 0.9685 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.2072, allocations: 0.5399 MB / 0.9691 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.2105, allocations: 1.778 MB / 0.9708 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.2107, allocations: 261.4 kB / 0.9711 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000724/0.2114, allocations: 218.6 kB / 0.9713 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2116, allocations: 76.48 kB / 0.9713 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of SimCode: time 1.783e-06/0.2116, allocations: 4 kB / 0.9713 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of Templates: time 0.02281/0.2344, allocations: 17.74 MB / 0.9887 GB, free: 13.24 MB / 0.948 GB " [Timeout remaining time 300] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.782991728745401]