Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001363/0.001363, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001512/0.001512, allocations: 216 kB / 22.99 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00208/0.00208, allocations: 65.14 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3926, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2337/0.6263, allocations: 180.8 MB / 1.46 GB, free: 6.508 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6373, allocations: 5.991 MB / 1.466 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6389, allocations: 51.62 kB / 1.466 GB, free: 464 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.6409, allocations: 0.6954 MB / 1.467 GB, free: 15.75 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.6487, allocations: 2.81 MB / 1.47 GB, free: 12.93 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.002572/0.6512, allocations: 0.7182 MB / 1.47 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005479/0.6567, allocations: 3.329 MB / 1.474 GB, free: 8.879 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.6581, allocations: 0.8013 MB / 1.474 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.6609, allocations: 1.312 MB / 1.476 GB, free: 6.738 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.6637, allocations: 1.128 MB / 1.477 GB, free: 5.613 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.6639, allocations: 128 kB / 1.477 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.6689, allocations: 1.92 MB / 1.479 GB, free: 3.562 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.6696, allocations: 0.5258 MB / 1.479 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.6708, allocations: 0.6226 MB / 1.48 GB, free: 2.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.6765, allocations: 2.722 MB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.6765, allocations: 7.938 kB / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6765, allocations: 0 / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.6766, allocations: 0 / 1.483 GB, free: 15.67 MB / 1.186 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.004372/0.6809, allocations: 1.738 MB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.681, allocations: 8.031 kB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.6832, allocations: 354.9 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.6851, allocations: 0.8141 MB / 1.485 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.12e-05/0.6852, allocations: 82 kB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.6854, allocations: 96 kB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.6877, allocations: 1.392 MB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.6878, allocations: 4 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6879, allocations: 40 kB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.678e-05/0.688, allocations: 66.06 kB / 1.487 GB, free: 10.94 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.69, allocations: 1.234 MB / 1.488 GB, free: 9.699 MB / 1.186 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.006253/0.6963, allocations: 2.973 MB / 1.491 GB, free: 6.676 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6978, allocations: 0.8313 MB / 1.492 GB, free: 5.84 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.6986, allocations: 490.5 kB / 1.492 GB, free: 5.359 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-05/0.6987, allocations: 16.64 kB / 1.492 GB, free: 5.344 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009937/0.6997, allocations: 0.6737 MB / 1.493 GB, free: 4.609 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 4.228e-06/0.6997, allocations: 0 / 1.493 GB, free: 4.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.002356/0.702, allocations: 1.161 MB / 1.494 GB, free: 3.441 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.7021, allocations: 60.06 kB / 1.494 GB, free: 3.371 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.7028, allocations: 0.5029 MB / 1.495 GB, free: 2.859 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.7029, allocations: 41.7 kB / 1.495 GB, free: 2.812 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.7033, allocations: 476.6 kB / 1.495 GB, free: 2.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.7037, allocations: 289.7 kB / 1.496 GB, free: 2.055 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.7039, allocations: 130.6 kB / 1.496 GB, free: 1.922 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002559/0.7041, allocations: 378.8 kB / 1.496 GB, free: 1.543 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.7047, allocations: 333.8 kB / 1.496 GB, free: 1.215 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.7053, allocations: 448.8 kB / 1.497 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.7066, allocations: 0.8194 MB / 1.498 GB, free: 15.88 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.7066, allocations: 4 kB / 1.498 GB, free: 15.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001593/0.7082, allocations: 0.9225 MB / 1.498 GB, free: 14.95 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.7082, allocations: 12.06 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7082, allocations: 3.984 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.7082, allocations: 11.94 kB / 1.498 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.709, allocations: 159.7 kB / 1.499 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.709, allocations: 12 kB / 1.499 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/0.7098, allocations: 55.56 kB / 1.499 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.7099, allocations: 27.98 kB / 1.499 GB, free: 14.67 MB / 1.201 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.000649/0.7105, allocations: 334.9 kB / 1.499 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.7107, allocations: 79.47 kB / 1.499 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.7109, allocations: 115.2 kB / 1.499 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.7109, allocations: 11.94 kB / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.7109, allocations: 0 / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.7124, allocations: 1.081 MB / 1.5 GB, free: 12.96 MB / 1.201 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.003424/0.7158, allocations: 1.898 MB / 1.502 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7158, allocations: 0 / 1.502 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.7167, allocations: 171.8 kB / 1.502 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.7167, allocations: 8.031 kB / 1.502 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.7167, allocations: 16 kB / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.7168, allocations: 7.984 kB / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7168, allocations: 0 / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.719, allocations: 1.348 MB / 1.504 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.7195, allocations: 175.4 kB / 1.504 GB, free: 9.273 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7196, allocations: 16 kB / 1.504 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.7203, allocations: 23.92 kB / 1.504 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.7204, allocations: 48.52 kB / 1.504 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.7204, allocations: 23.98 kB / 1.504 GB, free: 9.164 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005572/0.721, allocations: 366.8 kB / 1.504 GB, free: 8.809 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.721, allocations: 0 / 1.504 GB, free: 8.809 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001186/0.7222, allocations: 375.2 kB / 1.505 GB, free: 8.441 MB / 1.201 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.0003954/0.7226, allocations: 182.4 kB / 1.505 GB, free: 8.258 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.7239, allocations: 0.759 MB / 1.506 GB, free: 7.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.724, allocations: 0 / 1.506 GB, free: 7.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.7246, allocations: 411.5 kB / 1.506 GB, free: 7.098 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.727, allocations: 0.531 MB / 1.506 GB, free: 6.578 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.7311, allocations: 2.27 MB / 1.509 GB, free: 4.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.7318, allocations: 0.5425 MB / 1.509 GB, free: 3.691 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.7321, allocations: 79.42 kB / 1.509 GB, free: 3.617 MB / 1.201 GB Notification: Performance of SimCode: time 1.603e-06/0.7321, allocations: 0 / 1.509 GB, free: 3.617 MB / 1.201 GB Notification: Performance of Templates: time 0.02723/0.7593, allocations: 15.86 MB / 1.525 GB, free: 3.859 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.090066807344556]