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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001438/0.001438, allocations: 107.8 kB / 16.36 MB, free: 6.285 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.001545/0.001546, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.8 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6662/0.9515, allocations: 204.2 MB / 1.226 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009402/0.9609, allocations: 6.376 MB / 1.232 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.9621, allocations: 36.88 kB / 1.232 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.9638, allocations: 0.7245 MB / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.9699, allocations: 2.687 MB / 1.236 GB, free: 7.398 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00178/0.9717, allocations: 0.7036 MB / 1.236 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003863/0.9756, allocations: 3.274 MB / 1.24 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.977, allocations: 1.149 MB / 1.241 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.9791, allocations: 1.242 MB / 1.242 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.9811, allocations: 1.092 MB / 1.243 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.9813, allocations: 128 kB / 1.243 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.9858, allocations: 2.362 MB / 1.245 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.9863, allocations: 0.5182 MB / 1.246 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.9871, allocations: 0.7353 MB / 1.247 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.991, allocations: 2.801 MB / 1.249 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.991, allocations: 0 / 1.249 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9911, allocations: 0 / 1.249 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.9911, allocations: 0 / 1.249 GB, free: 9.359 MB / 0.9512 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.003871/0.9949, allocations: 1.769 MB / 1.251 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.995, allocations: 11.97 kB / 1.251 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.9972, allocations: 346.1 kB / 1.251 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.9987, allocations: 0.8817 MB / 1.252 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.9988, allocations: 74.02 kB / 1.252 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.9989, allocations: 104 kB / 1.252 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.001, allocations: 1.188 MB / 1.254 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.001, allocations: 0 / 1.254 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/1.001, allocations: 47.97 kB / 1.254 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/1.001, allocations: 62.06 kB / 1.254 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.003, allocations: 1.25 MB / 1.255 GB, free: 3.496 MB / 0.9512 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.006196/1.009, allocations: 5.1 MB / 1.26 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.01, allocations: 1.167 MB / 1.261 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/1.011, allocations: 0.4973 MB / 1.262 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/1.011, allocations: 16.78 kB / 1.262 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007261/1.012, allocations: 493.3 kB / 1.262 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 4.288e-06/1.012, allocations: 0 / 1.262 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.0019/1.014, allocations: 1.153 MB / 1.263 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/1.014, allocations: 64 kB / 1.263 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/1.015, allocations: 0.5745 MB / 1.264 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/1.015, allocations: 41.7 kB / 1.264 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.015, allocations: 459.6 kB / 1.264 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.015, allocations: 276 kB / 1.265 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/1.015, allocations: 130.7 kB / 1.265 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.016, allocations: 386.8 kB / 1.265 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/1.016, allocations: 329.8 kB / 1.265 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/1.017, allocations: 452.7 kB / 1.266 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.018, allocations: 0.8194 MB / 1.267 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.018, allocations: 0 / 1.267 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001287/1.019, allocations: 0.9336 MB / 1.267 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.019, allocations: 4 kB / 1.267 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.019, allocations: 4 kB / 1.267 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.019, allocations: 4 kB / 1.267 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/1.02, allocations: 160.6 kB / 1.268 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.02, allocations: 7.984 kB / 1.268 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/1.02, allocations: 63.28 kB / 1.268 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.02, allocations: 28.25 kB / 1.268 GB, free: 5.699 MB / 0.9669 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.0004449/1.021, allocations: 333.5 kB / 1.268 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/1.021, allocations: 83.06 kB / 1.268 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/1.021, allocations: 107.7 kB / 1.268 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.021, allocations: 11.94 kB / 1.268 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.021, allocations: 4 kB / 1.268 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.022, allocations: 1.089 MB / 1.269 GB, free: 3.977 MB / 0.9669 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.003004/1.025, allocations: 2.314 MB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.025, allocations: 0 / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/1.026, allocations: 175.8 kB / 1.272 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.026, allocations: 4 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/1.026, allocations: 19.98 kB / 1.272 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/1.026, allocations: 0 / 1.272 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.026, allocations: 4 kB / 1.272 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/1.028, allocations: 1.351 MB / 1.273 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/1.029, allocations: 252 kB / 1.273 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.029, allocations: 19.98 kB / 1.273 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/1.029, allocations: 19.94 kB / 1.273 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.029, allocations: 48.58 kB / 1.273 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/1.029, allocations: 27.98 kB / 1.273 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004361/1.03, allocations: 407.1 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/1.03, allocations: 4 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007867/1.031, allocations: 375 kB / 1.274 GB, free: 14.86 MB / 0.9825 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.0002708/1.031, allocations: 174.2 kB / 1.274 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.032, allocations: 0.8019 MB / 1.275 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.032, allocations: 0 / 1.275 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/1.033, allocations: 419.6 kB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.035, allocations: 0.5995 MB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/1.038, allocations: 2.16 MB / 1.278 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/1.039, allocations: 1.139 MB / 1.279 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007695/1.039, allocations: 275.1 kB / 1.28 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.04, allocations: 75.44 kB / 1.28 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/1.04, allocations: 0 / 1.28 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of Templates: time 0.02857/1.068, allocations: 19.06 MB / 1.298 GB, free: 6.328 MB / 0.9981 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=480 -s gbode -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