Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002017/0.002017, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.796, allocations: 140.4 MB / 0.9489 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2266/1.023, allocations: 211.4 MB / 1.155 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01553/1.038, allocations: 10.3 MB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/1.041, allocations: 39.81 kB / 1.165 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/1.043, allocations: 0.727 MB / 1.166 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00832/1.052, allocations: 2.724 MB / 1.169 GB, free: 132 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.056, allocations: 1.287 MB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005859/1.062, allocations: 4.647 MB / 1.175 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/1.063, allocations: 0.883 MB / 1.176 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/1.065, allocations: 0.9765 MB / 1.176 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/1.068, allocations: 1.118 MB / 1.178 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/1.068, allocations: 68 kB / 1.178 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006714/1.075, allocations: 3.199 MB / 1.181 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006766/1.076, allocations: 450.6 kB / 1.181 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/1.077, allocations: 0.6687 MB / 1.182 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00612/1.083, allocations: 2.945 MB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/1.083, allocations: 4 kB / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/1.083, allocations: 3.938 kB / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.45e-05/1.083, allocations: 0 / 1.185 GB, free: 15.83 MB / 0.9512 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.004363/1.088, allocations: 1.791 MB / 1.186 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.088, allocations: 12.02 kB / 1.186 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/1.091, allocations: 434 kB / 1.187 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.092, allocations: 0.8435 MB / 1.188 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/1.092, allocations: 66 kB / 1.188 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.092, allocations: 96 kB / 1.188 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.094, allocations: 1.202 MB / 1.189 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.094, allocations: 3.984 kB / 1.189 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.094, allocations: 43.98 kB / 1.189 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/1.094, allocations: 57.92 kB / 1.189 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.096, allocations: 1.077 MB / 1.19 GB, free: 10.08 MB / 0.9512 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.005621/1.102, allocations: 4.727 MB / 1.195 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.103, allocations: 0.9924 MB / 1.196 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/1.104, allocations: 0.5636 MB / 1.196 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/1.105, allocations: 0.6733 MB / 1.197 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.105, allocations: 43.22 kB / 1.197 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.614e-06/1.105, allocations: 0 / 1.197 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.004474/1.109, allocations: 2.296 MB / 1.199 GB, free: 144 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.11, allocations: 64.34 kB / 1.199 GB, free: 68 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/1.11, allocations: 0.6412 MB / 1.2 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/1.11, allocations: 41.7 kB / 1.2 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/1.111, allocations: 460 kB / 1.2 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/1.111, allocations: 299.6 kB / 1.201 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/1.111, allocations: 138.5 kB / 1.201 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.111, allocations: 394.7 kB / 1.201 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/1.112, allocations: 321.8 kB / 1.202 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/1.112, allocations: 426.5 kB / 1.202 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.113, allocations: 0.7885 MB / 1.203 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.113, allocations: 3.938 kB / 1.203 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001511/1.115, allocations: 0.9464 MB / 1.204 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.115, allocations: 8 kB / 1.204 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.115, allocations: 0 / 1.204 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/1.115, allocations: 64.77 kB / 1.204 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/1.116, allocations: 151.8 kB / 1.204 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004846/1.117, allocations: 0.615 MB / 1.204 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.118, allocations: 99.83 kB / 1.205 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/1.118, allocations: 27.98 kB / 1.205 GB, free: 10.56 MB / 0.9669 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.0004958/1.118, allocations: 310 kB / 1.205 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.118, allocations: 90.97 kB / 1.205 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.12, allocations: 0.9284 MB / 1.206 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/1.12, allocations: 8 kB / 1.206 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.12, allocations: 0 / 1.206 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/1.121, allocations: 0.9309 MB / 1.207 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/1.124, allocations: 2.115 MB / 1.209 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.124, allocations: 0 / 1.209 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009242/1.125, allocations: 187.8 kB / 1.209 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/1.125, allocations: 4 kB / 1.209 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/1.125, allocations: 23.92 kB / 1.209 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.125, allocations: 4 kB / 1.209 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.125, allocations: 0 / 1.209 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.127, allocations: 1.384 MB / 1.21 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/1.128, allocations: 255.9 kB / 1.211 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.128, allocations: 16 kB / 1.211 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/1.129, allocations: 89.45 kB / 1.211 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.129, allocations: 56.86 kB / 1.211 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/1.129, allocations: 23.98 kB / 1.211 GB, free: 4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005523/1.129, allocations: 459 kB / 1.211 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 1.211 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009797/1.13, allocations: 319.9 kB / 1.212 GB, free: 3.242 MB / 0.9669 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.0004015/1.131, allocations: 217.2 kB / 1.212 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001354/1.132, allocations: 0.8051 MB / 1.213 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.132, allocations: 4 kB / 1.213 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/1.133, allocations: 433.6 kB / 1.213 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.135, allocations: 0.5658 MB / 1.214 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/1.139, allocations: 2.738 MB / 1.216 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/1.14, allocations: 1.132 MB / 1.217 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001128/1.141, allocations: 251.8 kB / 1.218 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.141, allocations: 79.38 kB / 1.218 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/1.141, allocations: 4 kB / 1.218 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.03454/1.176, allocations: 19.53 MB / 1.237 GB, free: 9.691 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches