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.001338/0.001338, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001565/0.001565, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.793 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.22/3.22, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.003404/0.003404, allocations: 71.95 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3182, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2346/0.5528, allocations: 180.8 MB / 1.502 GB, free: 12.42 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.564, allocations: 6.011 MB / 1.508 GB, free: 6.395 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.5653, allocations: 47.62 kB / 1.508 GB, free: 6.348 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.5672, allocations: 0.6993 MB / 1.509 GB, free: 5.645 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007125/0.5743, allocations: 2.809 MB / 1.511 GB, free: 2.824 MB / 1.201 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.001957/0.5762, allocations: 0.7209 MB / 1.512 GB, free: 2.109 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004464/0.5807, allocations: 3.333 MB / 1.515 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.5822, allocations: 0.8013 MB / 1.516 GB, free: 13.94 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.5851, allocations: 1.441 MB / 1.518 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.5877, allocations: 1.093 MB / 1.519 GB, free: 11.4 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003598/0.5881, allocations: 128 kB / 1.519 GB, free: 11.27 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.5925, allocations: 1.92 MB / 1.521 GB, free: 9.348 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000796/0.5933, allocations: 0.5297 MB / 1.521 GB, free: 8.816 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.5945, allocations: 0.6265 MB / 1.522 GB, free: 8.188 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.5996, allocations: 2.718 MB / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5996, allocations: 0 / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5996, allocations: 0 / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.392e-05/0.5997, allocations: 3.938 kB / 1.524 GB, free: 5.457 MB / 1.217 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.004922/0.6046, allocations: 1.73 MB / 1.526 GB, free: 3.688 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6046, allocations: 12.03 kB / 1.526 GB, free: 3.676 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.607, allocations: 354.9 kB / 1.526 GB, free: 3.328 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.609, allocations: 0.818 MB / 1.527 GB, free: 2.477 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/0.6091, allocations: 78.02 kB / 1.527 GB, free: 2.398 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.6093, allocations: 99.98 kB / 1.527 GB, free: 2.301 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.6117, allocations: 1.392 MB / 1.529 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.6117, allocations: 0 / 1.529 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6118, allocations: 43.98 kB / 1.529 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.201e-05/0.6119, allocations: 62.06 kB / 1.529 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.6142, allocations: 1.238 MB / 1.53 GB, free: 15.47 MB / 1.232 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.006714/0.6209, allocations: 2.973 MB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.6225, allocations: 0.8307 MB / 1.534 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.6233, allocations: 485.1 kB / 1.534 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.6233, allocations: 16.64 kB / 1.534 GB, free: 11.12 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000958/0.6243, allocations: 0.6815 MB / 1.535 GB, free: 10.38 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.146e-06/0.6243, allocations: 0 / 1.535 GB, free: 10.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002146/0.6264, allocations: 1.165 MB / 1.536 GB, free: 9.207 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.6265, allocations: 64.06 kB / 1.536 GB, free: 9.133 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.6272, allocations: 0.5029 MB / 1.537 GB, free: 8.621 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/0.6273, allocations: 41.7 kB / 1.537 GB, free: 8.574 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.6277, allocations: 476.6 kB / 1.537 GB, free: 8.102 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.628, allocations: 285.7 kB / 1.537 GB, free: 7.82 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.6282, allocations: 130.6 kB / 1.538 GB, free: 7.688 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6284, allocations: 382.8 kB / 1.538 GB, free: 7.305 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.6289, allocations: 325.8 kB / 1.538 GB, free: 6.988 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.6296, allocations: 452.7 kB / 1.539 GB, free: 6.512 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.6308, allocations: 0.8233 MB / 1.539 GB, free: 5.648 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6308, allocations: 0 / 1.539 GB, free: 5.648 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001643/0.6325, allocations: 0.934 MB / 1.54 GB, free: 4.707 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.6325, allocations: 9.719 kB / 1.54 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6325, allocations: 0 / 1.54 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.6325, allocations: 15.88 kB / 1.54 GB, free: 4.684 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.6333, allocations: 155.7 kB / 1.541 GB, free: 4.531 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.6333, allocations: 8 kB / 1.541 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.634, allocations: 55.97 kB / 1.541 GB, free: 4.469 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.6341, allocations: 24 kB / 1.541 GB, free: 4.445 MB / 1.232 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.0005274/0.6346, allocations: 334 kB / 1.541 GB, free: 4.109 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.6348, allocations: 79.53 kB / 1.541 GB, free: 4.031 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.6351, allocations: 107.2 kB / 1.541 GB, free: 3.918 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6351, allocations: 11.94 kB / 1.541 GB, free: 3.906 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.6351, allocations: 0 / 1.541 GB, free: 3.906 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/0.6365, allocations: 1.085 MB / 1.542 GB, free: 2.734 MB / 1.232 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.003535/0.6401, allocations: 1.906 MB / 1.544 GB, free: 0.7891 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6401, allocations: 4.031 kB / 1.544 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/0.641, allocations: 171.8 kB / 1.544 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.641, allocations: 4 kB / 1.544 GB, free: 0.6133 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.641, allocations: 16 kB / 1.544 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.6411, allocations: 4 kB / 1.544 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6411, allocations: 0 / 1.544 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.6432, allocations: 1.356 MB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.6437, allocations: 167.4 kB / 1.546 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6439, allocations: 27.98 kB / 1.546 GB, free: 15.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.6445, allocations: 19.94 kB / 1.546 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.6446, allocations: 48.56 kB / 1.546 GB, free: 14.96 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.6447, allocations: 23.98 kB / 1.546 GB, free: 14.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000486/0.6452, allocations: 358.8 kB / 1.546 GB, free: 14.59 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6452, allocations: 0 / 1.546 GB, free: 14.59 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001033/0.6462, allocations: 375.2 kB / 1.547 GB, free: 14.22 MB / 1.248 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.0003413/0.6465, allocations: 180.4 kB / 1.547 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.6479, allocations: 0.7634 MB / 1.547 GB, free: 13.27 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6479, allocations: 192 / 1.547 GB, free: 13.27 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.6486, allocations: 415.5 kB / 1.548 GB, free: 12.87 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.651, allocations: 0.5354 MB / 1.548 GB, free: 12.34 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.6547, allocations: 2.183 MB / 1.551 GB, free: 10.12 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.6554, allocations: 0.5425 MB / 1.551 GB, free: 9.555 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008736/0.6563, allocations: 266.6 kB / 1.551 GB, free: 9.289 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6566, allocations: 75.42 kB / 1.551 GB, free: 9.215 MB / 1.248 GB Notification: Performance of SimCode: time 4.41e-07/0.6566, allocations: 7.938 kB / 1.551 GB, free: 9.207 MB / 1.248 GB Notification: Performance of Templates: time 0.03451/0.6911, allocations: 20.39 MB / 1.571 GB, free: 5.242 MB / 1.264 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: 9.530850196257234]