Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 184.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 103.8 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.115e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.774/2.011, allocations: 442.1 MB / 1.317 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/2.011, allocations: 90.12 kB / 1.317 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5437/2.555, allocations: 279.9 MB / 1.59 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/2.555, allocations: 0 / 1.59 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.167e-05/2.555, allocations: 40 kB / 1.59 GB, free: 2.57 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004053/2.559, allocations: 1.863 MB / 1.592 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/2.559, allocations: 8.031 kB / 1.592 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/2.559, allocations: 197.7 kB / 1.592 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6895/3.249, allocations: 1.344 MB / 1.594 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/3.249, allocations: 48.47 kB / 1.594 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/3.249, allocations: 92.19 kB / 1.594 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005301/3.255, allocations: 2.274 MB / 1.596 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/3.258, allocations: 1.616 MB / 1.598 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/3.258, allocations: 5.031 kB / 1.598 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/3.259, allocations: 1.625 kB / 1.598 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/3.259, allocations: 38.05 kB / 1.598 GB, free: 194 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01053/3.269, allocations: 4.744 MB / 1.602 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/3.273, allocations: 2.638 MB / 1.605 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/3.276, allocations: 1.308 MB / 1.606 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/3.277, allocations: 1.724 MB / 1.608 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/3.277, allocations: 59.66 kB / 1.608 GB, free: 191 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 4.809e-06/3.277, allocations: 0 / 1.608 GB, free: 191 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.005814/3.283, allocations: 2.317 MB / 1.61 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/3.283, allocations: 75.92 kB / 1.61 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/3.284, allocations: 0.6632 MB / 1.611 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/3.284, allocations: 28.64 kB / 1.611 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/3.285, allocations: 482.9 kB / 1.611 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/3.286, allocations: 0.7612 MB / 1.612 GB, free: 190 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/3.286, allocations: 3.375 kB / 1.612 GB, free: 190 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002043/3.286, allocations: 385.5 kB / 1.613 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/3.288, allocations: 0.8176 MB / 1.613 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/3.29, allocations: 1.021 MB / 1.614 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/3.293, allocations: 1.229 MB / 1.616 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/3.293, allocations: 5.109 kB / 1.616 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006641/3.3, allocations: 2.414 MB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/3.3, allocations: 6.875 kB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/3.3, allocations: 3.656 kB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-05/3.3, allocations: 16.42 kB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/3.302, allocations: 441.2 kB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/3.302, allocations: 13.45 kB / 1.618 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/3.304, allocations: 170.8 kB / 1.619 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/3.305, allocations: 72.02 kB / 1.619 GB, free: 189.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003485/3.305, allocations: 143.8 kB / 1.619 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/3.305, allocations: 138.7 kB / 1.619 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007092/3.312, allocations: 2.688 MB / 1.621 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/3.313, allocations: 22.53 kB / 1.622 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/3.313, allocations: 0 / 1.622 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006078/3.319, allocations: 2.393 MB / 1.624 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/3.33, allocations: 4.094 MB / 1.628 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/3.33, allocations: 0 / 1.628 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/3.332, allocations: 415.4 kB / 1.628 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/3.333, allocations: 86.73 kB / 1.628 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/3.333, allocations: 23.11 kB / 1.628 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/3.334, allocations: 1.117 MB / 1.629 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/3.334, allocations: 5.016 kB / 1.629 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/3.342, allocations: 4.006 MB / 1.633 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/3.343, allocations: 498.4 kB / 1.634 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/3.344, allocations: 0 / 1.634 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/3.345, allocations: 77.41 kB / 1.634 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/3.345, allocations: 134.5 kB / 1.634 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/3.346, allocations: 70.5 kB / 1.634 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008715/3.346, allocations: 0.5121 MB / 1.635 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/3.346, allocations: 0 / 1.635 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002423/3.349, allocations: 0.6126 MB / 1.635 GB, free: 186.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/3.35, allocations: 0.5565 MB / 1.636 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003368/3.354, allocations: 2.116 MB / 1.638 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/3.354, allocations: 3.844 kB / 1.638 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/3.355, allocations: 1.19 MB / 1.639 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/3.358, allocations: 493.5 kB / 1.639 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/3.364, allocations: 3.072 MB / 1.642 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/3.366, allocations: 1.367 MB / 1.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002629/3.368, allocations: 0.7259 MB / 1.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/3.369, allocations: 154.6 kB / 1.645 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/3.369, allocations: 0 / 1.645 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.04388/3.413, allocations: 26.03 MB / 1.67 GB, free: 184.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches