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.001592/0.001592, 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.001891/0.001891, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.517/2.517, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7547, allocations: 140.3 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2311/0.9858, allocations: 211 MB / 1.155 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01598/1.002, allocations: 10.14 MB / 1.165 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/1.004, allocations: 31.81 kB / 1.165 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/1.007, allocations: 0.7543 MB / 1.166 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008539/1.015, allocations: 2.716 MB / 1.168 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/1.02, allocations: 1.303 MB / 1.17 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004814/1.024, allocations: 3.174 MB / 1.173 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/1.026, allocations: 1.006 MB / 1.174 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/1.029, allocations: 1.148 MB / 1.175 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/1.031, allocations: 1.148 MB / 1.176 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003823/1.032, allocations: 124 kB / 1.176 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005855/1.038, allocations: 2.852 MB / 1.179 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008441/1.039, allocations: 0.4948 MB / 1.179 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/1.04, allocations: 0.7273 MB / 1.18 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/1.046, allocations: 2.984 MB / 1.183 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.046, allocations: 0 / 1.183 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/1.046, allocations: 4 kB / 1.183 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.983e-05/1.046, allocations: 0 / 1.183 GB, free: 1.703 MB / 0.9356 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.00487/1.051, allocations: 1.799 MB / 1.185 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.051, allocations: 12.03 kB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/1.054, allocations: 425.9 kB / 1.185 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.056, allocations: 0.8512 MB / 1.186 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/1.056, allocations: 74 kB / 1.186 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/1.056, allocations: 91.98 kB / 1.186 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/1.059, allocations: 1.202 MB / 1.187 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/1.059, allocations: 4 kB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.059, allocations: 36 kB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/1.059, allocations: 57.92 kB / 1.187 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.061, allocations: 1.073 MB / 1.189 GB, free: 11.96 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.006365/1.067, allocations: 4.727 MB / 1.193 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.069, allocations: 0.9924 MB / 1.194 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/1.07, allocations: 0.5675 MB / 1.195 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/1.07, allocations: 0.6733 MB / 1.195 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.07, allocations: 47.22 kB / 1.195 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/1.07, allocations: 4 kB / 1.195 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.004549/1.075, allocations: 2.292 MB / 1.198 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/1.075, allocations: 64.34 kB / 1.198 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/1.076, allocations: 0.6412 MB / 1.198 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/1.076, allocations: 41.7 kB / 1.198 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/1.076, allocations: 456 kB / 1.199 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/1.077, allocations: 299.6 kB / 1.199 GB, free: 500 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/1.077, allocations: 138.5 kB / 1.199 GB, free: 356 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.077, allocations: 390.7 kB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/1.077, allocations: 321.8 kB / 1.2 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/1.078, allocations: 434.5 kB / 1.2 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/1.079, allocations: 0.7807 MB / 1.201 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.079, allocations: 3.938 kB / 1.201 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001586/1.081, allocations: 0.9503 MB / 1.202 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.081, allocations: 4 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.081, allocations: 4 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/1.081, allocations: 56.77 kB / 1.202 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/1.082, allocations: 159.7 kB / 1.202 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/1.082, allocations: 0.6033 MB / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.083, allocations: 103.8 kB / 1.203 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/1.084, allocations: 28 kB / 1.203 GB, free: 12.44 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.0004893/1.084, allocations: 306 kB / 1.203 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.084, allocations: 90.97 kB / 1.203 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.086, allocations: 0.9323 MB / 1.204 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.086, allocations: 8 kB / 1.204 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.086, allocations: 4.062 kB / 1.204 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/1.087, allocations: 0.9348 MB / 1.205 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.091, allocations: 2.107 MB / 1.207 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.091, allocations: 0 / 1.207 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/1.092, allocations: 191.8 kB / 1.207 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/1.092, allocations: 7.938 kB / 1.207 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/1.092, allocations: 19.94 kB / 1.207 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/1.092, allocations: 8 kB / 1.207 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.092, allocations: 0 / 1.207 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.094, allocations: 1.392 MB / 1.209 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/1.094, allocations: 251.9 kB / 1.209 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.094, allocations: 16 kB / 1.209 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/1.095, allocations: 83.78 kB / 1.209 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.095, allocations: 48.92 kB / 1.209 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/1.096, allocations: 31.98 kB / 1.209 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005855/1.096, allocations: 459 kB / 1.21 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 0 / 1.21 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000936/1.097, allocations: 319.9 kB / 1.21 GB, free: 5.113 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.0004152/1.098, allocations: 212.8 kB / 1.21 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.1, allocations: 0.9964 MB / 1.211 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.1, allocations: 0 / 1.211 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006583/1.1, allocations: 441.5 kB / 1.212 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.103, allocations: 0.591 MB / 1.212 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/1.107, allocations: 2.744 MB / 1.215 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/1.108, allocations: 1.128 MB / 1.216 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001323/1.11, allocations: 251.8 kB / 1.216 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.11, allocations: 75.44 kB / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of SimCode: time 1.212e-06/1.11, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.03796/1.148, allocations: 20.32 MB / 1.236 GB, free: 10.6 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