Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007857/0.007857, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001929/0.001929, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 0.9508 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6967, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2279/0.9247, allocations: 204.2 MB / 1.287 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009507/0.9342, allocations: 6.364 MB / 1.294 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.9355, allocations: 35.81 kB / 1.294 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.9375, allocations: 0.7656 MB / 1.294 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.9439, allocations: 2.773 MB / 1.297 GB, free: 7.383 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.00184/0.9458, allocations: 0.7104 MB / 1.298 GB, free: 6.676 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.9497, allocations: 3.282 MB / 1.301 GB, free: 3.379 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.9511, allocations: 1.152 MB / 1.302 GB, free: 2.207 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.9532, allocations: 1.284 MB / 1.303 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.9551, allocations: 1.094 MB / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.9553, allocations: 128 kB / 1.304 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.9597, allocations: 2.369 MB / 1.307 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.9603, allocations: 0.5104 MB / 1.307 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.9614, allocations: 0.7392 MB / 1.308 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.9662, allocations: 2.809 MB / 1.311 GB, free: 9.262 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9662, allocations: 0 / 1.311 GB, free: 9.262 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9662, allocations: 0 / 1.311 GB, free: 9.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.9663, allocations: 0 / 1.311 GB, free: 9.262 MB / 1.045 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.004261/0.9705, allocations: 1.802 MB / 1.312 GB, free: 7.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9706, allocations: 12.03 kB / 1.313 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.9729, allocations: 358.8 kB / 1.313 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.9745, allocations: 0.8824 MB / 1.314 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.9746, allocations: 78.02 kB / 1.314 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.9747, allocations: 99.98 kB / 1.314 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.9767, allocations: 1.191 MB / 1.315 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.9767, allocations: 0 / 1.315 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.9769, allocations: 47.98 kB / 1.315 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.9769, allocations: 58.08 kB / 1.315 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.9789, allocations: 1.246 MB / 1.316 GB, free: 3.355 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 preOpt removeSimpleEquations (simulation): time 0.006875/0.9858, allocations: 5.106 MB / 1.321 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.9873, allocations: 1.179 MB / 1.322 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.988, allocations: 0.5012 MB / 1.323 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.9881, allocations: 20.78 kB / 1.323 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.9888, allocations: 476.2 kB / 1.323 GB, free: 11.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.9888, allocations: 4 kB / 1.323 GB, free: 11.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.002031/0.9908, allocations: 1.173 MB / 1.325 GB, free: 10.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.9909, allocations: 56.06 kB / 1.325 GB, free: 10.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.9916, allocations: 0.5744 MB / 1.325 GB, free: 9.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.9917, allocations: 41.64 kB / 1.325 GB, free: 9.652 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.992, allocations: 468.7 kB / 1.326 GB, free: 9.188 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.9923, allocations: 289.5 kB / 1.326 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.9925, allocations: 126.7 kB / 1.326 GB, free: 8.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9927, allocations: 386.8 kB / 1.326 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.9931, allocations: 333.8 kB / 1.327 GB, free: 8.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.9937, allocations: 448.8 kB / 1.327 GB, free: 7.578 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.9948, allocations: 0.8194 MB / 1.328 GB, free: 6.727 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9948, allocations: 4 kB / 1.328 GB, free: 6.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001418/0.9963, allocations: 0.9339 MB / 1.329 GB, free: 5.781 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9963, allocations: 8.344 kB / 1.329 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9963, allocations: 11.92 kB / 1.329 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9963, allocations: 8 kB / 1.329 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.997, allocations: 155.8 kB / 1.329 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9971, allocations: 8 kB / 1.329 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.9978, allocations: 63.5 kB / 1.329 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.9979, allocations: 24 kB / 1.329 GB, free: 5.508 MB / 1.061 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.0004353/0.9983, allocations: 329.6 kB / 1.33 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.9985, allocations: 87.48 kB / 1.33 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.9987, allocations: 115.6 kB / 1.33 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.9987, allocations: 8 kB / 1.33 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.9987, allocations: 0 / 1.33 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/1, allocations: 1.093 MB / 1.331 GB, free: 3.781 MB / 1.061 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.003123/1.003, allocations: 2.307 MB / 1.333 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.003, allocations: 0 / 1.333 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/1.004, allocations: 179.8 kB / 1.333 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/1.004, allocations: 0 / 1.333 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.004, allocations: 23.98 kB / 1.333 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.004, allocations: 4 kB / 1.333 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.004, allocations: 0 / 1.333 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.006, allocations: 1.356 MB / 1.335 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/1.006, allocations: 248.5 kB / 1.335 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.006, allocations: 16 kB / 1.335 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/1.007, allocations: 25.11 kB / 1.335 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/1.007, allocations: 48.66 kB / 1.335 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/1.007, allocations: 27.98 kB / 1.335 GB, free: 15.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004459/1.008, allocations: 411.1 kB / 1.335 GB, free: 15.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 4 kB / 1.335 GB, free: 15.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008287/1.009, allocations: 375.2 kB / 1.336 GB, free: 14.66 MB / 1.076 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.0002622/1.009, allocations: 191 kB / 1.336 GB, free: 14.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001155/1.01, allocations: 0.7981 MB / 1.337 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.01, allocations: 0 / 1.337 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/1.011, allocations: 431.5 kB / 1.337 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.013, allocations: 0.5803 MB / 1.338 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/1.016, allocations: 2.193 MB / 1.34 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/1.017, allocations: 1.14 MB / 1.341 GB, free: 9.277 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000816/1.018, allocations: 275.1 kB / 1.341 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.018, allocations: 75.44 kB / 1.341 GB, free: 8.934 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.018, allocations: 0 / 1.341 GB, free: 8.934 MB / 1.076 GB Notification: Performance of Templates: time 0.02953/1.048, allocations: 19.23 MB / 1.36 GB, free: 5.957 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches