Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.84 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2936/1.343, allocations: 204.2 MB / 1.282 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01271/1.356, allocations: 6.392 MB / 1.289 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/1.358, allocations: 39.81 kB / 1.289 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/1.361, allocations: 0.7226 MB / 1.289 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009758/1.371, allocations: 2.679 MB / 1.292 GB, free: 8.188 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.002599/1.373, allocations: 0.7082 MB / 1.293 GB, free: 7.484 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006109/1.379, allocations: 3.274 MB / 1.296 GB, free: 4.199 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/1.382, allocations: 1.137 MB / 1.297 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/1.385, allocations: 1.363 MB / 1.298 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/1.388, allocations: 1.083 MB / 1.299 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003143/1.388, allocations: 128 kB / 1.299 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/1.394, allocations: 2.35 MB / 1.302 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007532/1.394, allocations: 0.5103 MB / 1.302 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/1.396, allocations: 0.7391 MB / 1.303 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005566/1.401, allocations: 2.778 MB / 1.306 GB, free: 10.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.401, allocations: 0 / 1.306 GB, free: 10.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.464e-06/1.401, allocations: 0 / 1.306 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.691e-05/1.401, allocations: 0 / 1.306 GB, free: 10.07 MB / 1.029 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.004485/1.406, allocations: 1.773 MB / 1.307 GB, free: 8.242 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.406, allocations: 8.031 kB / 1.307 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/1.408, allocations: 346.2 kB / 1.308 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.41, allocations: 0.8389 MB / 1.309 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/1.41, allocations: 74.02 kB / 1.309 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/1.41, allocations: 104 kB / 1.309 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.412, allocations: 1.199 MB / 1.31 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.412, allocations: 0 / 1.31 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.412, allocations: 43.98 kB / 1.31 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/1.412, allocations: 66.02 kB / 1.31 GB, free: 5.496 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/1.414, allocations: 1.246 MB / 1.311 GB, free: 4.242 MB / 1.029 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.007224/1.421, allocations: 5.29 MB / 1.316 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.423, allocations: 1.157 MB / 1.318 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/1.424, allocations: 0.5012 MB / 1.318 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/1.424, allocations: 20.78 kB / 1.318 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007824/1.425, allocations: 488.2 kB / 1.318 GB, free: 12.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/1.425, allocations: 0 / 1.318 GB, free: 12.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.002104/1.427, allocations: 1.157 MB / 1.32 GB, free: 11.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.427, allocations: 60.06 kB / 1.32 GB, free: 10.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/1.428, allocations: 0.5745 MB / 1.32 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/1.428, allocations: 41.7 kB / 1.32 GB, free: 10.35 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/1.428, allocations: 467.5 kB / 1.321 GB, free: 9.883 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/1.428, allocations: 276 kB / 1.321 GB, free: 9.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/1.429, allocations: 130.6 kB / 1.321 GB, free: 9.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002195/1.429, allocations: 386.8 kB / 1.321 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/1.429, allocations: 329.8 kB / 1.322 GB, free: 8.766 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/1.43, allocations: 448.8 kB / 1.322 GB, free: 8.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.431, allocations: 0.8194 MB / 1.323 GB, free: 7.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.431, allocations: 11.94 kB / 1.323 GB, free: 7.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001462/1.433, allocations: 0.9296 MB / 1.324 GB, free: 6.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.433, allocations: 4 kB / 1.324 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.433, allocations: 4 kB / 1.324 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/1.433, allocations: 7.938 kB / 1.324 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/1.434, allocations: 160.2 kB / 1.324 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.434, allocations: 11.94 kB / 1.324 GB, free: 6.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/1.434, allocations: 55.36 kB / 1.324 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/1.434, allocations: 28 kB / 1.324 GB, free: 6.219 MB / 1.045 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.0005493/1.435, allocations: 326.3 kB / 1.324 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/1.435, allocations: 83.06 kB / 1.325 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/1.435, allocations: 111.7 kB / 1.325 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.435, allocations: 8 kB / 1.325 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.435, allocations: 4 kB / 1.325 GB, free: 5.68 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/1.437, allocations: 1.093 MB / 1.326 GB, free: 4.504 MB / 1.045 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.003403/1.44, allocations: 2.297 MB / 1.328 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.44, allocations: 0 / 1.328 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/1.441, allocations: 183.8 kB / 1.328 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/1.441, allocations: 0 / 1.328 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/1.441, allocations: 16 kB / 1.328 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/1.441, allocations: 15.86 kB / 1.328 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.441, allocations: 0 / 1.328 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.443, allocations: 1.354 MB / 1.33 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/1.443, allocations: 256 kB / 1.33 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.444, allocations: 16 kB / 1.33 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.444, allocations: 24.92 kB / 1.33 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/1.444, allocations: 44.59 kB / 1.33 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.444, allocations: 24.11 kB / 1.33 GB, free: 152 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00055/1.445, allocations: 411.1 kB / 1.33 GB, free: 15.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.445, allocations: 4 kB / 1.33 GB, free: 15.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001003/1.446, allocations: 359.1 kB / 1.331 GB, free: 15.4 MB / 1.061 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.0003586/1.446, allocations: 194.8 kB / 1.331 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.448, allocations: 1.036 MB / 1.332 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.448, allocations: 0 / 1.332 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/1.449, allocations: 431.5 kB / 1.332 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.451, allocations: 0.5876 MB / 1.333 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/1.455, allocations: 2.269 MB / 1.335 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/1.456, allocations: 1.136 MB / 1.336 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/1.456, allocations: 83.42 kB / 1.336 GB, free: 9.625 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/1.456, allocations: 0 / 1.336 GB, free: 9.625 MB / 1.061 GB Notification: Performance of Templates: time 0.02736/1.484, allocations: 15.76 MB / 1.352 GB, free: 9.961 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches