Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001534/0.001534, allocations: 110.4 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001757/0.001757, allocations: 215.8 kB / 22.25 MB, free: 5.133 MB / 14.72 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 1.591/1.591, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.508/3.508, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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.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_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003059/0.003059, allocations: 67.3 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5143, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3013/0.8156, allocations: 208.4 MB / 1.53 GB, free: 344 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.8267, allocations: 6.425 MB / 1.536 GB, free: 9.895 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.8284, allocations: 51.62 kB / 1.536 GB, free: 9.844 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.8305, allocations: 0.7733 MB / 1.537 GB, free: 9.066 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007836/0.8383, allocations: 2.828 MB / 1.54 GB, free: 6.227 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.00222/0.8406, allocations: 0.7382 MB / 1.54 GB, free: 5.492 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004709/0.8453, allocations: 3.356 MB / 1.544 GB, free: 2.113 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.8466, allocations: 0.8208 MB / 1.544 GB, free: 1.266 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.8496, allocations: 1.429 MB / 1.546 GB, free: 15.83 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.8521, allocations: 1.148 MB / 1.547 GB, free: 14.69 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.8523, allocations: 128 kB / 1.547 GB, free: 14.56 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.8579, allocations: 2.552 MB / 1.55 GB, free: 12 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007381/0.8586, allocations: 0.5297 MB / 1.55 GB, free: 11.47 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.8598, allocations: 0.7469 MB / 1.551 GB, free: 10.72 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.8652, allocations: 2.804 MB / 1.554 GB, free: 7.91 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.8652, allocations: 4 kB / 1.554 GB, free: 7.906 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8652, allocations: 0 / 1.554 GB, free: 7.906 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.434e-05/0.8652, allocations: 0 / 1.554 GB, free: 7.906 MB / 1.248 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.004157/0.8694, allocations: 1.735 MB / 1.555 GB, free: 6.133 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8694, allocations: 12.02 kB / 1.555 GB, free: 6.121 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.8716, allocations: 354.9 kB / 1.556 GB, free: 5.773 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.8733, allocations: 0.8141 MB / 1.556 GB, free: 4.926 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.8733, allocations: 70.02 kB / 1.556 GB, free: 4.855 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.8735, allocations: 104 kB / 1.557 GB, free: 4.754 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.8756, allocations: 1.191 MB / 1.558 GB, free: 3.531 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.8756, allocations: 0 / 1.558 GB, free: 3.531 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.8757, allocations: 47.98 kB / 1.558 GB, free: 3.484 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.8758, allocations: 58.06 kB / 1.558 GB, free: 3.426 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.8779, allocations: 1.25 MB / 1.559 GB, free: 2.168 MB / 1.248 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.007522/0.8854, allocations: 5.201 MB / 1.564 GB, free: 12.48 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.8868, allocations: 0.8316 MB / 1.565 GB, free: 11.64 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.8875, allocations: 489.2 kB / 1.565 GB, free: 11.16 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.8875, allocations: 16.78 kB / 1.565 GB, free: 11.14 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/0.8883, allocations: 496.2 kB / 1.566 GB, free: 10.64 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.8883, allocations: 0 / 1.566 GB, free: 10.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.00199/0.8903, allocations: 1.157 MB / 1.567 GB, free: 9.477 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.8903, allocations: 60.06 kB / 1.567 GB, free: 9.406 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.891, allocations: 0.5783 MB / 1.568 GB, free: 8.816 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.8911, allocations: 41.7 kB / 1.568 GB, free: 8.77 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.8914, allocations: 468.6 kB / 1.568 GB, free: 8.305 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.8917, allocations: 289.5 kB / 1.568 GB, free: 8.02 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.8919, allocations: 134.6 kB / 1.569 GB, free: 7.883 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.8921, allocations: 386.8 kB / 1.569 GB, free: 7.496 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.8926, allocations: 329.8 kB / 1.569 GB, free: 7.176 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.8932, allocations: 448.8 kB / 1.57 GB, free: 6.703 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.8943, allocations: 0.8233 MB / 1.57 GB, free: 5.84 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8943, allocations: 0 / 1.57 GB, free: 5.84 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001445/0.8957, allocations: 0.9379 MB / 1.571 GB, free: 4.895 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8958, allocations: 8 kB / 1.571 GB, free: 4.887 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8958, allocations: 11.94 kB / 1.571 GB, free: 4.875 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8958, allocations: 7.938 kB / 1.571 GB, free: 4.867 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.8965, allocations: 151.8 kB / 1.572 GB, free: 4.719 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.8965, allocations: 4 kB / 1.572 GB, free: 4.715 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.8972, allocations: 71.44 kB / 1.572 GB, free: 4.645 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.8972, allocations: 28 kB / 1.572 GB, free: 4.617 MB / 1.264 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.0005238/0.8977, allocations: 330.4 kB / 1.572 GB, free: 4.285 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8979, allocations: 83.48 kB / 1.572 GB, free: 4.203 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.8981, allocations: 111.7 kB / 1.572 GB, free: 4.086 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.8981, allocations: 11.98 kB / 1.572 GB, free: 4.074 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8981, allocations: 0 / 1.572 GB, free: 4.074 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/0.8994, allocations: 1.093 MB / 1.573 GB, free: 2.895 MB / 1.264 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.003337/0.9027, allocations: 2.275 MB / 1.575 GB, free: 0.543 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9027, allocations: 4 kB / 1.575 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.9035, allocations: 175.8 kB / 1.576 GB, free: 376 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.9036, allocations: 4 kB / 1.576 GB, free: 372 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.9036, allocations: 12 kB / 1.576 GB, free: 360 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.9036, allocations: 7.984 kB / 1.576 GB, free: 352 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9036, allocations: 0 / 1.576 GB, free: 352 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.9055, allocations: 1.367 MB / 1.577 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.906, allocations: 183.3 kB / 1.577 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9061, allocations: 19.94 kB / 1.577 GB, free: 14.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.9066, allocations: 16 kB / 1.577 GB, free: 14.74 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.9067, allocations: 48.56 kB / 1.577 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.9068, allocations: 23.98 kB / 1.577 GB, free: 14.67 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005329/0.9073, allocations: 411.1 kB / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9073, allocations: 4 kB / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001026/0.9083, allocations: 379.2 kB / 1.578 GB, free: 13.89 MB / 1.279 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.0003076/0.9086, allocations: 178.8 kB / 1.578 GB, free: 13.71 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.9099, allocations: 0.7629 MB / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9099, allocations: 0 / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.9104, allocations: 411.5 kB / 1.579 GB, free: 12.55 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.9128, allocations: 0.5867 MB / 1.58 GB, free: 11.98 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.9165, allocations: 2.202 MB / 1.582 GB, free: 9.738 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.9174, allocations: 1.14 MB / 1.583 GB, free: 8.574 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0008596/0.9182, allocations: 271.1 kB / 1.583 GB, free: 8.305 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.9184, allocations: 75.44 kB / 1.583 GB, free: 8.23 MB / 1.279 GB Notification: Performance of SimCode: time 9.92e-07/0.9184, allocations: 0 / 1.583 GB, free: 8.23 MB / 1.279 GB Notification: Performance of Templates: time 0.03882/0.9573, allocations: 19.89 MB / 1.603 GB, free: 4.574 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.806512066163123]