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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001794/0.001794, allocations: 111 kB / 15.99 MB, free: 6.348 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.001727/0.001727, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.536/1.536, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 482.4 MB / 0.755 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.48 kB / 0.924 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 162.2 MB / 1.082 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.3164/1.41, allocations: 211 MB / 1.288 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01762/1.427, allocations: 10.15 MB / 1.298 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/1.43, allocations: 31.81 kB / 1.298 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/1.432, allocations: 0.766 MB / 1.299 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00877/1.441, allocations: 2.704 MB / 1.302 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/1.445, allocations: 1.311 MB / 1.303 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005649/1.451, allocations: 3.152 MB / 1.306 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/1.453, allocations: 1.014 MB / 1.307 GB, free: 8.273 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/1.456, allocations: 1.273 MB / 1.308 GB, free: 6.996 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.459, allocations: 1.128 MB / 1.31 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/1.459, allocations: 120 kB / 1.31 GB, free: 5.754 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006794/1.466, allocations: 2.852 MB / 1.312 GB, free: 2.895 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007801/1.467, allocations: 0.4948 MB / 1.313 GB, free: 2.398 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/1.468, allocations: 0.7234 MB / 1.314 GB, free: 1.672 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004014/1.472, allocations: 2.082 MB / 1.316 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.472, allocations: 0 / 1.316 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/1.472, allocations: 0 / 1.316 GB, free: 15.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.954e-05/1.472, allocations: 0 / 1.316 GB, free: 15.59 MB / 1.045 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.004812/1.477, allocations: 1.795 MB / 1.317 GB, free: 13.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.477, allocations: 8.031 kB / 1.317 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/1.48, allocations: 434 kB / 1.318 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/1.482, allocations: 0.8513 MB / 1.319 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/1.482, allocations: 69.98 kB / 1.319 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.482, allocations: 103.9 kB / 1.319 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/1.484, allocations: 1.194 MB / 1.32 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/1.484, allocations: 3.938 kB / 1.32 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.484, allocations: 48 kB / 1.32 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-05/1.485, allocations: 45.98 kB / 1.32 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.487, allocations: 1.077 MB / 1.321 GB, free: 9.836 MB / 1.045 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.007015/1.494, allocations: 4.889 MB / 1.326 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/1.496, allocations: 0.9892 MB / 1.327 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/1.497, allocations: 0.5675 MB / 1.327 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008533/1.497, allocations: 0.6733 MB / 1.328 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.498, allocations: 43.2 kB / 1.328 GB, free: 2.043 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/1.498, allocations: 0 / 1.328 GB, free: 2.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=83): time 0.005212/1.503, allocations: 2.312 MB / 1.33 GB, free: 15.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/1.503, allocations: 64.34 kB / 1.33 GB, free: 15.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009926/1.504, allocations: 0.6373 MB / 1.331 GB, free: 14.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/1.504, allocations: 49.58 kB / 1.331 GB, free: 14.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/1.504, allocations: 456 kB / 1.332 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/1.505, allocations: 291.6 kB / 1.332 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/1.505, allocations: 130.7 kB / 1.332 GB, free: 14.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002707/1.505, allocations: 394.7 kB / 1.332 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/1.506, allocations: 321.8 kB / 1.333 GB, free: 13.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/1.507, allocations: 426.5 kB / 1.333 GB, free: 12.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.508, allocations: 0.7807 MB / 1.334 GB, free: 12.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.508, allocations: 4 kB / 1.334 GB, free: 12.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001803/1.51, allocations: 0.9463 MB / 1.335 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.51, allocations: 8 kB / 1.335 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.51, allocations: 0 / 1.335 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/1.51, allocations: 64.7 kB / 1.335 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/1.511, allocations: 156.1 kB / 1.335 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006645/1.511, allocations: 0.6069 MB / 1.336 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.513, allocations: 107.7 kB / 1.336 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/1.513, allocations: 28 kB / 1.336 GB, free: 10.12 MB / 1.061 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.0006371/1.513, allocations: 305.6 kB / 1.336 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/1.514, allocations: 90.97 kB / 1.336 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/1.515, allocations: 0.9285 MB / 1.337 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.515, allocations: 8 kB / 1.337 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.515, allocations: 0 / 1.337 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/1.517, allocations: 0.931 MB / 1.338 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/1.521, allocations: 2.122 MB / 1.34 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/1.521, allocations: 0 / 1.34 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/1.522, allocations: 187.8 kB / 1.34 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.522, allocations: 8 kB / 1.34 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/1.522, allocations: 23.92 kB / 1.34 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.522, allocations: 4 kB / 1.34 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.522, allocations: 0 / 1.34 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.524, allocations: 1.388 MB / 1.341 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/1.525, allocations: 251.9 kB / 1.342 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.525, allocations: 19.98 kB / 1.342 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/1.526, allocations: 81.84 kB / 1.342 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.526, allocations: 52.92 kB / 1.342 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/1.526, allocations: 31.98 kB / 1.342 GB, free: 3.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006509/1.526, allocations: 455 kB / 1.342 GB, free: 3.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.527, allocations: 0 / 1.342 GB, free: 3.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001062/1.528, allocations: 323.9 kB / 1.343 GB, free: 2.789 MB / 1.061 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.00045/1.528, allocations: 219.1 kB / 1.343 GB, free: 2.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002183/1.53, allocations: 1 MB / 1.344 GB, free: 1.566 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.53, allocations: 0 / 1.344 GB, free: 1.566 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/1.531, allocations: 438.1 kB / 1.344 GB, free: 1.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.533, allocations: 0.5934 MB / 1.345 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.538, allocations: 2.819 MB / 1.348 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/1.539, allocations: 1.116 MB / 1.349 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/1.54, allocations: 83.42 kB / 1.349 GB, free: 12.48 MB / 1.076 GB Notification: Performance of SimCode: time 1.282e-06/1.54, allocations: 3.938 kB / 1.349 GB, free: 12.48 MB / 1.076 GB Notification: Performance of Templates: time 0.03441/1.574, allocations: 18.69 MB / 1.367 GB, free: 9.855 MB / 1.092 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=400 -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