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.001706/0.001707, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002234/0.002234, allocations: 187.9 kB / 16.25 MB, free: 6.645 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.86 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4698, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.302/1.772, allocations: 211 MB / 1.258 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01649/1.789, allocations: 10.14 MB / 1.268 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/1.792, allocations: 35.62 kB / 1.268 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/1.795, allocations: 0.7554 MB / 1.269 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/1.805, allocations: 2.718 MB / 1.272 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/1.81, allocations: 1.301 MB / 1.273 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007667/1.818, allocations: 3.163 MB / 1.276 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/1.821, allocations: 1.008 MB / 1.277 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/1.826, allocations: 1.144 MB / 1.278 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005417/1.832, allocations: 1.144 MB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00104/1.833, allocations: 122.4 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/1.844, allocations: 2.854 MB / 1.282 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002342/1.847, allocations: 0.4964 MB / 1.283 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004522/1.851, allocations: 0.7221 MB / 1.283 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01302/1.864, allocations: 2.992 MB / 1.286 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/1.864, allocations: 0 / 1.286 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/1.864, allocations: 0 / 1.286 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001143/1.865, allocations: 2.406 kB / 1.286 GB, free: 2.008 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.008621/1.873, allocations: 1.791 MB / 1.288 GB, free: 17.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.873, allocations: 9.406 kB / 1.288 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/1.877, allocations: 431.1 kB / 1.288 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/1.881, allocations: 0.8481 MB / 1.289 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.881, allocations: 75.72 kB / 1.289 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/1.881, allocations: 93.94 kB / 1.289 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/1.885, allocations: 1.2 MB / 1.291 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/1.885, allocations: 4.984 kB / 1.291 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/1.885, allocations: 37 kB / 1.291 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.886, allocations: 53.7 kB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/1.888, allocations: 1.071 MB / 1.292 GB, free: 16.61 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.008989/1.897, allocations: 4.736 MB / 1.296 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/1.899, allocations: 0.9935 MB / 1.297 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.901, allocations: 0.5627 MB / 1.298 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008182/1.901, allocations: 0.6768 MB / 1.298 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/1.901, allocations: 46.88 kB / 1.299 GB, free: 12.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/1.901, allocations: 2.172 kB / 1.299 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.006753/1.908, allocations: 2.297 MB / 1.301 GB, free: 12.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/1.908, allocations: 61.72 kB / 1.301 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/1.91, allocations: 0.6338 MB / 1.301 GB, free: 12.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.91, allocations: 44.3 kB / 1.301 GB, free: 12.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/1.91, allocations: 457 kB / 1.302 GB, free: 11.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/1.911, allocations: 295.2 kB / 1.302 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/1.911, allocations: 138.1 kB / 1.302 GB, free: 11.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002426/1.911, allocations: 394.1 kB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/1.912, allocations: 326.4 kB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/1.913, allocations: 422.7 kB / 1.303 GB, free: 11.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.914, allocations: 0.7834 MB / 1.304 GB, free: 11.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.914, allocations: 9.078 kB / 1.304 GB, free: 11.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00205/1.916, allocations: 0.949 MB / 1.305 GB, free: 11.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.916, allocations: 5 kB / 1.305 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.916, allocations: 3.438 kB / 1.305 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/1.917, allocations: 57.03 kB / 1.305 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/1.918, allocations: 155.8 kB / 1.305 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005925/1.918, allocations: 0.6082 MB / 1.306 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.92, allocations: 109.2 kB / 1.306 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/1.92, allocations: 30.27 kB / 1.306 GB, free: 10.65 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.000772/1.921, allocations: 301.9 kB / 1.306 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/1.921, allocations: 92.97 kB / 1.306 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.923, allocations: 0.9328 MB / 1.307 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.923, allocations: 10.34 kB / 1.307 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.923, allocations: 1.031 kB / 1.307 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/1.924, allocations: 0.9264 MB / 1.308 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/1.93, allocations: 2.112 MB / 1.31 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.93, allocations: 3.562 kB / 1.31 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.931, allocations: 192.4 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/1.931, allocations: 0.9375 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.931, allocations: 22.27 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/1.931, allocations: 2.469 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.931, allocations: 0.8438 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.933, allocations: 1.398 MB / 1.312 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.934, allocations: 243.3 kB / 1.312 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/1.934, allocations: 23.06 kB / 1.312 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.936, allocations: 86.12 kB / 1.312 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.936, allocations: 52.34 kB / 1.312 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/1.936, allocations: 26.8 kB / 1.312 GB, free: 9.449 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008786/1.937, allocations: 459.9 kB / 1.313 GB, free: 9.355 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.937, allocations: 0 / 1.313 GB, free: 9.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001809/1.939, allocations: 320.4 kB / 1.313 GB, free: 9.352 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.000606/1.939, allocations: 211.1 kB / 1.313 GB, free: 9.258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002351/1.942, allocations: 0.9983 MB / 1.314 GB, free: 9.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.942, allocations: 3.594 kB / 1.314 GB, free: 9.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007118/1.943, allocations: 442.5 kB / 1.315 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.946, allocations: 0.595 MB / 1.315 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/1.952, allocations: 2.75 MB / 1.318 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.953, allocations: 1.12 MB / 1.319 GB, free: 6.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00157/1.954, allocations: 251.3 kB / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.955, allocations: 78.91 kB / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.483e-06/1.955, allocations: 0 / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of Templates: time 0.04578/2.001, allocations: 20.32 MB / 1.339 GB, free: 2.652 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