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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001056/0.001056, allocations: 98.41 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005118, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.083, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2627/1.346, allocations: 208.6 MB / 1.159 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01653/1.363, allocations: 10.19 MB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/1.365, allocations: 31.81 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/1.368, allocations: 0.7231 MB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009734/1.378, allocations: 2.728 MB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005665/1.383, allocations: 1.293 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007961/1.391, allocations: 4.643 MB / 1.179 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/1.393, allocations: 0.8439 MB / 1.179 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/1.396, allocations: 0.957 MB / 1.18 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/1.4, allocations: 1.071 MB / 1.181 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004569/1.4, allocations: 59.94 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007695/1.408, allocations: 3.199 MB / 1.185 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009731/1.409, allocations: 434.6 kB / 1.185 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001933/1.411, allocations: 0.6704 MB / 1.186 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0045/1.415, allocations: 2.034 MB / 1.188 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.415, allocations: 0 / 1.188 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/1.415, allocations: 0 / 1.188 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.949e-05/1.415, allocations: 4 kB / 1.188 GB, free: 1.039 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.005296/1.421, allocations: 1.558 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.421, allocations: 8.031 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/1.424, allocations: 430 kB / 1.19 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/1.426, allocations: 0.8512 MB / 1.19 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/1.426, allocations: 69.98 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/1.427, allocations: 99.94 kB / 1.191 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/1.43, allocations: 1.202 MB / 1.192 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.43, allocations: 0 / 1.192 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.43, allocations: 44 kB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.26e-05/1.43, allocations: 45.98 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/1.432, allocations: 1.077 MB / 1.193 GB, free: 11.53 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.007087/1.439, allocations: 4.742 MB / 1.197 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.441, allocations: 0.9846 MB / 1.198 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.442, allocations: 0.5597 MB / 1.199 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/1.443, allocations: 0.6811 MB / 1.2 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/1.443, allocations: 43.22 kB / 1.2 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/1.443, allocations: 0 / 1.2 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.005398/1.448, allocations: 2.3 MB / 1.202 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.448, allocations: 68.34 kB / 1.202 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.449, allocations: 0.6373 MB / 1.203 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/1.45, allocations: 41.7 kB / 1.203 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/1.45, allocations: 456 kB / 1.203 GB, free: 360 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/1.45, allocations: 299.6 kB / 1.203 GB, free: 56 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/1.45, allocations: 69.67 kB / 1.203 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.451, allocations: 390.8 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/1.451, allocations: 321.8 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/1.452, allocations: 430.5 kB / 1.205 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.453, allocations: 0.7846 MB / 1.205 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.453, allocations: 0 / 1.205 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001789/1.455, allocations: 0.9464 MB / 1.206 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.455, allocations: 7.938 kB / 1.206 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.455, allocations: 7.984 kB / 1.206 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/1.455, allocations: 60.77 kB / 1.206 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/1.456, allocations: 151.8 kB / 1.206 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005734/1.457, allocations: 0.6189 MB / 1.207 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.458, allocations: 99.83 kB / 1.207 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/1.458, allocations: 31.98 kB / 1.207 GB, free: 12.06 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.0006107/1.459, allocations: 302.1 kB / 1.207 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.459, allocations: 90.88 kB / 1.208 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.461, allocations: 0.9246 MB / 1.208 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.461, allocations: 12 kB / 1.208 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.461, allocations: 3.938 kB / 1.208 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/1.462, allocations: 0.9232 MB / 1.209 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/1.466, allocations: 2.111 MB / 1.211 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.466, allocations: 0 / 1.211 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/1.467, allocations: 195.8 kB / 1.212 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/1.467, allocations: 0 / 1.212 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-05/1.467, allocations: 31.98 kB / 1.212 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.467, allocations: 4 kB / 1.212 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.467, allocations: 4 kB / 1.212 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.469, allocations: 1.38 MB / 1.213 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/1.47, allocations: 255.9 kB / 1.213 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.47, allocations: 12 kB / 1.213 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.471, allocations: 93.73 kB / 1.213 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/1.471, allocations: 52.92 kB / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/1.471, allocations: 23.98 kB / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000675/1.472, allocations: 459 kB / 1.214 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.472, allocations: 0 / 1.214 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00118/1.473, allocations: 319.9 kB / 1.214 GB, free: 4.75 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.0004809/1.474, allocations: 228 kB / 1.214 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.475, allocations: 0.809 MB / 1.215 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.475, allocations: 0 / 1.215 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000691/1.476, allocations: 445.5 kB / 1.216 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.479, allocations: 0.5628 MB / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/1.484, allocations: 2.956 MB / 1.219 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/1.485, allocations: 1.124 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/1.486, allocations: 83.42 kB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.486, allocations: 0 / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of Templates: time 0.03372/1.519, allocations: 18.53 MB / 1.238 GB, free: 12.04 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches