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.0009445/0.0009442, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.008747/0.008747, allocations: 173 kB / 16.26 MB, free: 6.613 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.047/3.047, allocations: 462.6 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003845, allocations: 7.969 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4314, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.266/1.697, allocations: 208.6 MB / 1.262 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.714, allocations: 10.18 MB / 1.272 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/1.717, allocations: 32.22 kB / 1.272 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003042/1.72, allocations: 0.7299 MB / 1.273 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/1.731, allocations: 2.721 MB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005605/1.736, allocations: 1.293 MB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01084/1.747, allocations: 4.634 MB / 1.282 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/1.75, allocations: 0.855 MB / 1.282 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/1.754, allocations: 0.9537 MB / 1.283 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/1.759, allocations: 1.092 MB / 1.284 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004448/1.76, allocations: 61.06 kB / 1.284 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/1.77, allocations: 3.189 MB / 1.288 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/1.772, allocations: 428.1 kB / 1.288 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/1.774, allocations: 0.6722 MB / 1.289 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/1.785, allocations: 2.905 MB / 1.291 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.785, allocations: 1.031 kB / 1.291 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.088e-06/1.785, allocations: 0 / 1.291 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.91e-05/1.785, allocations: 0 / 1.291 GB, free: 2.227 MB / 0.9981 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.005741/1.791, allocations: 1.557 MB / 1.293 GB, free: 17.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.791, allocations: 9.312 kB / 1.293 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/1.794, allocations: 434 kB / 1.293 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/1.796, allocations: 0.8504 MB / 1.294 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.796, allocations: 76.66 kB / 1.294 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.797, allocations: 95.84 kB / 1.294 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/1.8, allocations: 1.196 MB / 1.296 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/1.8, allocations: 4.875 kB / 1.296 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/1.8, allocations: 39.16 kB / 1.296 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/1.8, allocations: 53.88 kB / 1.296 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/1.802, allocations: 1.07 MB / 1.297 GB, free: 16.83 MB / 1.014 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.008633/1.811, allocations: 4.738 MB / 1.301 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.813, allocations: 0.9961 MB / 1.302 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.814, allocations: 0.5592 MB / 1.303 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008601/1.815, allocations: 0.6746 MB / 1.303 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/1.815, allocations: 44.09 kB / 1.304 GB, free: 13.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.657e-06/1.815, allocations: 0 / 1.304 GB, free: 13.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.005969/1.821, allocations: 2.301 MB / 1.306 GB, free: 12.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/1.821, allocations: 65.12 kB / 1.306 GB, free: 12.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/1.822, allocations: 0.6407 MB / 1.306 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/1.822, allocations: 39.23 kB / 1.306 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/1.823, allocations: 464.3 kB / 1.307 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/1.823, allocations: 294.8 kB / 1.307 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/1.823, allocations: 67.42 kB / 1.307 GB, free: 11.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.823, allocations: 391.1 kB / 1.308 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/1.824, allocations: 321.4 kB / 1.308 GB, free: 11.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/1.824, allocations: 427.2 kB / 1.308 GB, free: 11.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.826, allocations: 0.7824 MB / 1.309 GB, free: 11.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.826, allocations: 5.312 kB / 1.309 GB, free: 11.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001882/1.828, allocations: 0.9513 MB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.828, allocations: 5.312 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.828, allocations: 2.75 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/1.828, allocations: 57.83 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/1.829, allocations: 152.7 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006599/1.829, allocations: 0.6153 MB / 1.311 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.831, allocations: 104.7 kB / 1.311 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.831, allocations: 28 kB / 1.311 GB, free: 10.81 MB / 1.014 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.0007089/1.831, allocations: 306.1 kB / 1.311 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.832, allocations: 90.7 kB / 1.311 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.833, allocations: 0.928 MB / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.833, allocations: 8.625 kB / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.833, allocations: 0 / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/1.835, allocations: 0.9368 MB / 1.313 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/1.838, allocations: 2.113 MB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.838, allocations: 0 / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/1.839, allocations: 191.7 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.839, allocations: 3.406 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/1.839, allocations: 17.3 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.839, allocations: 7.344 kB / 1.315 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.839, allocations: 0 / 1.315 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.841, allocations: 1.384 MB / 1.317 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/1.842, allocations: 254.4 kB / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.842, allocations: 27.27 kB / 1.317 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/1.843, allocations: 90.77 kB / 1.317 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.843, allocations: 50.28 kB / 1.317 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.843, allocations: 28.36 kB / 1.317 GB, free: 9.582 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007291/1.844, allocations: 460.8 kB / 1.318 GB, free: 9.484 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.844, allocations: 0 / 1.318 GB, free: 9.484 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00146/1.845, allocations: 316.4 kB / 1.318 GB, free: 9.48 MB / 1.014 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.000548/1.846, allocations: 214.7 kB / 1.318 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.848, allocations: 0.8073 MB / 1.319 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.848, allocations: 0 / 1.319 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/1.848, allocations: 444 kB / 1.319 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/1.851, allocations: 0.5618 MB / 1.32 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/1.856, allocations: 2.898 MB / 1.323 GB, free: 7.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/1.857, allocations: 1.123 MB / 1.324 GB, free: 7.039 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001317/1.858, allocations: 251.2 kB / 1.324 GB, free: 6.977 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/1.858, allocations: 79.56 kB / 1.324 GB, free: 6.969 MB / 1.014 GB Notification: Performance of SimCode: time 2.044e-06/1.858, allocations: 0 / 1.324 GB, free: 6.969 MB / 1.014 GB Notification: Performance of Templates: time 0.04033/1.899, allocations: 19.41 MB / 1.343 GB, free: 0.8203 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches