Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.001401/0.001401, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001527/0.001527, allocations: 213.8 kB / 23.04 MB, free: 4.867 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.469/1.469, allocations: 230.6 MB / 256.8 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.293/3.293, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom") [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.002029/0.002029, allocations: 73.16 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4419, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2535/0.6955, allocations: 189.4 MB / 1.512 GB, free: 2.855 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.7107, allocations: 9.476 MB / 1.521 GB, free: 9.355 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.7126, allocations: 59.56 kB / 1.521 GB, free: 9.297 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.7149, allocations: 0.7924 MB / 1.522 GB, free: 8.5 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008092/0.723, allocations: 3.015 MB / 1.525 GB, free: 5.473 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.727, allocations: 1.452 MB / 1.527 GB, free: 4.023 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005174/0.7322, allocations: 3.21 MB / 1.53 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.7337, allocations: 0.7649 MB / 1.53 GB, free: 16 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.7366, allocations: 1.316 MB / 1.532 GB, free: 14.69 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.7395, allocations: 1.083 MB / 1.533 GB, free: 13.61 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.7397, allocations: 120 kB / 1.533 GB, free: 13.49 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005471/0.7452, allocations: 2.24 MB / 1.535 GB, free: 11.25 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007534/0.7459, allocations: 0.5141 MB / 1.536 GB, free: 10.73 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.747, allocations: 0.5992 MB / 1.536 GB, free: 10.13 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.7531, allocations: 2.741 MB / 1.539 GB, free: 7.383 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7531, allocations: 0 / 1.539 GB, free: 7.383 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7531, allocations: 7.875 kB / 1.539 GB, free: 7.375 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.204e-05/0.7531, allocations: 0 / 1.539 GB, free: 7.375 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004501/0.7576, allocations: 1.757 MB / 1.541 GB, free: 5.578 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7577, allocations: 19.97 kB / 1.541 GB, free: 5.559 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.7606, allocations: 434.7 kB / 1.541 GB, free: 5.133 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.7623, allocations: 0.8149 MB / 1.542 GB, free: 4.285 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.7624, allocations: 74 kB / 1.542 GB, free: 4.215 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.7625, allocations: 99.98 kB / 1.542 GB, free: 4.117 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.7648, allocations: 1.399 MB / 1.543 GB, free: 2.633 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.7649, allocations: 4 kB / 1.543 GB, free: 2.629 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.765, allocations: 36 kB / 1.543 GB, free: 2.594 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/0.7651, allocations: 57.92 kB / 1.543 GB, free: 2.539 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.767, allocations: 1.069 MB / 1.544 GB, free: 1.465 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.005182/0.7721, allocations: 3.018 MB / 1.547 GB, free: 14.38 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.7736, allocations: 0.7876 MB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.7746, allocations: 0.5668 MB / 1.549 GB, free: 13.01 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.775, allocations: 80.59 kB / 1.549 GB, free: 12.93 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.7751, allocations: 47.16 kB / 1.549 GB, free: 12.88 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 3.227e-06/0.7751, allocations: 0 / 1.549 GB, free: 12.88 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.004316/0.7794, allocations: 2.231 MB / 1.551 GB, free: 10.62 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.7794, allocations: 60.41 kB / 1.551 GB, free: 10.55 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.7802, allocations: 0.6057 MB / 1.552 GB, free: 9.934 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.7803, allocations: 45.7 kB / 1.552 GB, free: 9.883 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.7807, allocations: 464.9 kB / 1.552 GB, free: 9.422 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.7809, allocations: 301.3 kB / 1.552 GB, free: 9.125 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.7811, allocations: 138.6 kB / 1.553 GB, free: 8.984 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.7813, allocations: 390.7 kB / 1.553 GB, free: 8.594 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.7819, allocations: 329.8 kB / 1.553 GB, free: 8.273 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.7825, allocations: 422.5 kB / 1.554 GB, free: 7.828 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.7836, allocations: 0.7807 MB / 1.554 GB, free: 7.023 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7836, allocations: 0 / 1.554 GB, free: 7.023 MB / 1.248 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001562/0.7852, allocations: 0.9432 MB / 1.555 GB, free: 6.07 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7852, allocations: 12 kB / 1.555 GB, free: 6.059 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7852, allocations: 0 / 1.555 GB, free: 6.059 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.7855, allocations: 60.83 kB / 1.555 GB, free: 5.996 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.7862, allocations: 159.7 kB / 1.556 GB, free: 5.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/0.7868, allocations: 0.6031 MB / 1.556 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.7876, allocations: 27.98 kB / 1.556 GB, free: 5.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.7876, allocations: 28.06 kB / 1.556 GB, free: 5.156 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006187/0.7883, allocations: 313.6 kB / 1.557 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.7884, allocations: 95.38 kB / 1.557 GB, free: 4.746 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.7902, allocations: 0.9243 MB / 1.558 GB, free: 3.812 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.7902, allocations: 8 kB / 1.558 GB, free: 3.805 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7902, allocations: 4 kB / 1.558 GB, free: 3.801 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/0.7915, allocations: 0.9309 MB / 1.558 GB, free: 2.82 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.7945, allocations: 1.798 MB / 1.56 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7945, allocations: 0 / 1.56 GB, free: 0.9883 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009098/0.7954, allocations: 191.8 kB / 1.56 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.7954, allocations: 4 kB / 1.56 GB, free: 0.7969 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.7955, allocations: 16 kB / 1.56 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.7955, allocations: 8 kB / 1.56 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.7955, allocations: 3.938 kB / 1.56 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.7977, allocations: 1.393 MB / 1.562 GB, free: 15.36 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.7981, allocations: 167.4 kB / 1.562 GB, free: 15.2 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7982, allocations: 16 kB / 1.562 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.7988, allocations: 25.05 kB / 1.562 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.7989, allocations: 56.89 kB / 1.562 GB, free: 15.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.799, allocations: 31.92 kB / 1.562 GB, free: 15.07 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005769/0.7996, allocations: 427 kB / 1.562 GB, free: 14.66 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7996, allocations: 0 / 1.562 GB, free: 14.66 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009717/0.8006, allocations: 319.9 kB / 1.563 GB, free: 14.34 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.0004288/0.801, allocations: 216.8 kB / 1.563 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.8024, allocations: 0.7661 MB / 1.564 GB, free: 13.36 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8024, allocations: 4 kB / 1.564 GB, free: 13.36 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.803, allocations: 409.6 kB / 1.564 GB, free: 12.96 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.8054, allocations: 0.5538 MB / 1.565 GB, free: 12.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.8095, allocations: 2.389 MB / 1.567 GB, free: 9.992 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.8101, allocations: 0.5318 MB / 1.568 GB, free: 9.43 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.8104, allocations: 83.42 kB / 1.568 GB, free: 9.348 MB / 1.264 GB Notification: Performance of SimCode: time 1.883e-06/0.8104, allocations: 0 / 1.568 GB, free: 9.348 MB / 1.264 GB Notification: Performance of Templates: time 0.03065/0.8411, allocations: 18.98 MB / 1.586 GB, free: 6.418 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 15.52071918710135]