Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001209/0.001209, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.449/2.449, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.787, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1979/0.985, allocations: 213.7 MB / 1.417 GB, free: 7.195 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.9985, allocations: 10.2 MB / 1.427 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/1.001, allocations: 47.75 kB / 1.427 GB, free: 12.93 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/1.003, allocations: 0.8313 MB / 1.428 GB, free: 12.09 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007833/1.011, allocations: 2.89 MB / 1.431 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/1.015, allocations: 1.413 MB / 1.432 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004573/1.019, allocations: 3.177 MB / 1.435 GB, free: 4.59 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/1.021, allocations: 1.022 MB / 1.436 GB, free: 3.543 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/1.023, allocations: 1.144 MB / 1.437 GB, free: 2.395 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/1.025, allocations: 1.072 MB / 1.438 GB, free: 1.324 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/1.025, allocations: 120 kB / 1.438 GB, free: 1.207 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/1.031, allocations: 2.736 MB / 1.441 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005144/1.031, allocations: 0.4908 MB / 1.442 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008171/1.032, allocations: 0.7234 MB / 1.442 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003804/1.036, allocations: 2.809 MB / 1.445 GB, free: 10.43 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.036, allocations: 0 / 1.445 GB, free: 10.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.433e-06/1.036, allocations: 4 kB / 1.445 GB, free: 10.43 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.036, allocations: 4 kB / 1.445 GB, free: 10.42 MB / 1.17 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.003475/1.04, allocations: 1.788 MB / 1.447 GB, free: 8.582 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.04, allocations: 12.03 kB / 1.447 GB, free: 8.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/1.043, allocations: 434 kB / 1.447 GB, free: 8.145 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.044, allocations: 0.8902 MB / 1.448 GB, free: 7.211 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/1.044, allocations: 70 kB / 1.448 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.044, allocations: 103.9 kB / 1.448 GB, free: 7.039 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.046, allocations: 1.202 MB / 1.449 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.046, allocations: 3.938 kB / 1.449 GB, free: 5.801 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/1.046, allocations: 40 kB / 1.449 GB, free: 5.762 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/1.046, allocations: 53.98 kB / 1.45 GB, free: 5.707 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.048, allocations: 1.073 MB / 1.451 GB, free: 4.637 MB / 1.17 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.004638/1.052, allocations: 4.746 MB / 1.455 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.054, allocations: 0.9924 MB / 1.456 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009721/1.055, allocations: 0.5947 MB / 1.457 GB, free: 13.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/1.055, allocations: 0.6732 MB / 1.457 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.055, allocations: 43.22 kB / 1.457 GB, free: 12.99 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/1.055, allocations: 4 kB / 1.457 GB, free: 12.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.0037/1.059, allocations: 2.3 MB / 1.46 GB, free: 10.63 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/1.059, allocations: 64.34 kB / 1.46 GB, free: 10.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/1.06, allocations: 0.6334 MB / 1.46 GB, free: 9.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/1.06, allocations: 41.7 kB / 1.46 GB, free: 9.863 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/1.06, allocations: 464 kB / 1.461 GB, free: 9.402 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.06, allocations: 303.6 kB / 1.461 GB, free: 9.102 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/1.06, allocations: 134.7 kB / 1.461 GB, free: 8.965 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.06, allocations: 390.8 kB / 1.462 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/1.061, allocations: 321.8 kB / 1.462 GB, free: 8.262 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/1.061, allocations: 422.5 kB / 1.462 GB, free: 7.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/1.062, allocations: 0.7846 MB / 1.463 GB, free: 7.012 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.062, allocations: 0 / 1.463 GB, free: 7.012 MB / 1.186 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001339/1.064, allocations: 0.9463 MB / 1.464 GB, free: 6.051 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.064, allocations: 4.25 kB / 1.464 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.064, allocations: 11.94 kB / 1.464 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/1.064, allocations: 56.83 kB / 1.464 GB, free: 5.977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/1.065, allocations: 155.8 kB / 1.464 GB, free: 5.824 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/1.065, allocations: 0.607 MB / 1.465 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/1.066, allocations: 23.97 kB / 1.465 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/1.066, allocations: 24 kB / 1.465 GB, free: 5.145 MB / 1.186 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.0003941/1.066, allocations: 309.5 kB / 1.465 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.066, allocations: 94.95 kB / 1.465 GB, free: 4.738 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.068, allocations: 0.9207 MB / 1.466 GB, free: 3.805 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/1.068, allocations: 8 kB / 1.466 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.068, allocations: 0 / 1.466 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/1.069, allocations: 0.9309 MB / 1.467 GB, free: 2.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/1.072, allocations: 2.118 MB / 1.469 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.072, allocations: 64 / 1.469 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/1.072, allocations: 195.8 kB / 1.469 GB, free: 468 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.072, allocations: 7.938 kB / 1.469 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/1.073, allocations: 16 kB / 1.469 GB, free: 444 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/1.073, allocations: 4 kB / 1.469 GB, free: 440 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.073, allocations: 3.984 kB / 1.469 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.074, allocations: 1.388 MB / 1.471 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/1.075, allocations: 251.9 kB / 1.471 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.075, allocations: 19.94 kB / 1.471 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/1.075, allocations: 31.92 kB / 1.471 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.076, allocations: 52.92 kB / 1.471 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/1.076, allocations: 23.98 kB / 1.471 GB, free: 14.62 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004634/1.076, allocations: 455 kB / 1.472 GB, free: 14.19 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.11e-07/1.076, allocations: 4 kB / 1.472 GB, free: 14.18 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007475/1.077, allocations: 319.9 kB / 1.472 GB, free: 13.87 MB / 1.201 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.0003118/1.077, allocations: 205 kB / 1.472 GB, free: 13.67 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.078, allocations: 0.8208 MB / 1.473 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.078, allocations: 0 / 1.473 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/1.079, allocations: 441.5 kB / 1.473 GB, free: 12.42 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.081, allocations: 0.5878 MB / 1.474 GB, free: 11.84 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/1.085, allocations: 2.36 MB / 1.476 GB, free: 9.441 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/1.086, allocations: 1.12 MB / 1.477 GB, free: 8.293 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.086, allocations: 79.42 kB / 1.477 GB, free: 8.215 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/1.086, allocations: 0 / 1.477 GB, free: 8.215 MB / 1.201 GB Notification: Performance of Templates: time 0.02893/1.115, allocations: 18.81 MB / 1.496 GB, free: 5.48 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches