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.001556/0.001556, allocations: 108.2 kB / 16.41 MB, free: 6.488 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.001574/0.001575, allocations: 183 kB / 17.34 MB, free: 5.766 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2905/1.462, allocations: 213.6 MB / 1.297 GB, free: 8.086 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01614/1.478, allocations: 10.21 MB / 1.307 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/1.48, allocations: 39.81 kB / 1.307 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/1.483, allocations: 0.8352 MB / 1.308 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008605/1.491, allocations: 2.886 MB / 1.311 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004442/1.496, allocations: 1.411 MB / 1.312 GB, free: 8.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005466/1.501, allocations: 3.183 MB / 1.315 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/1.503, allocations: 1.014 MB / 1.316 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/1.506, allocations: 1.144 MB / 1.317 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/1.509, allocations: 1.079 MB / 1.319 GB, free: 2.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004992/1.51, allocations: 120 kB / 1.319 GB, free: 2.102 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/1.516, allocations: 2.739 MB / 1.321 GB, free: 15.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009789/1.517, allocations: 0.4908 MB / 1.322 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001974/1.519, allocations: 0.7273 MB / 1.322 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007173/1.527, allocations: 2.805 MB / 1.325 GB, free: 11.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.527, allocations: 0 / 1.325 GB, free: 11.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.885e-06/1.527, allocations: 0 / 1.325 GB, free: 11.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.658e-05/1.527, allocations: 0 / 1.325 GB, free: 11.32 MB / 1.061 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.005676/1.532, allocations: 1.795 MB / 1.327 GB, free: 9.473 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.532, allocations: 8.031 kB / 1.327 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/1.536, allocations: 430 kB / 1.327 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/1.538, allocations: 0.8863 MB / 1.328 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/1.538, allocations: 74 kB / 1.328 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/1.538, allocations: 91.94 kB / 1.328 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/1.541, allocations: 1.209 MB / 1.33 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/1.541, allocations: 7.906 kB / 1.33 GB, free: 6.699 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.541, allocations: 39.98 kB / 1.33 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/1.541, allocations: 53.98 kB / 1.33 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/1.543, allocations: 1.069 MB / 1.331 GB, free: 5.535 MB / 1.061 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.006283/1.549, allocations: 4.754 MB / 1.335 GB, free: 392 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.551, allocations: 0.985 MB / 1.336 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.552, allocations: 0.5948 MB / 1.337 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/1.553, allocations: 0.6771 MB / 1.338 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.553, allocations: 39.22 kB / 1.338 GB, free: 13.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.746e-06/1.553, allocations: 0 / 1.338 GB, free: 13.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004295/1.557, allocations: 2.304 MB / 1.34 GB, free: 11.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.557, allocations: 64.34 kB / 1.34 GB, free: 11.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/1.558, allocations: 0.6411 MB / 1.341 GB, free: 10.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.558, allocations: 41.7 kB / 1.341 GB, free: 10.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/1.558, allocations: 460 kB / 1.341 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/1.559, allocations: 295.7 kB / 1.341 GB, free: 10.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.559, allocations: 134.6 kB / 1.341 GB, free: 9.875 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.559, allocations: 398.7 kB / 1.342 GB, free: 9.477 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/1.56, allocations: 317.8 kB / 1.342 GB, free: 9.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/1.56, allocations: 422.5 kB / 1.343 GB, free: 8.723 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.561, allocations: 0.7846 MB / 1.343 GB, free: 7.914 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.561, allocations: 4 kB / 1.343 GB, free: 7.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001626/1.563, allocations: 0.9424 MB / 1.344 GB, free: 6.957 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.563, allocations: 11.94 kB / 1.344 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.563, allocations: 7.922 kB / 1.344 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/1.563, allocations: 60.83 kB / 1.344 GB, free: 6.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/1.564, allocations: 152.1 kB / 1.344 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004949/1.564, allocations: 0.6109 MB / 1.345 GB, free: 6.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/1.565, allocations: 27.91 kB / 1.345 GB, free: 6.062 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/1.565, allocations: 31.98 kB / 1.345 GB, free: 6.031 MB / 1.076 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.0005373/1.566, allocations: 305.6 kB / 1.345 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/1.566, allocations: 91.03 kB / 1.345 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.568, allocations: 0.9284 MB / 1.346 GB, free: 4.691 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.568, allocations: 8 kB / 1.346 GB, free: 4.684 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.568, allocations: 0 / 1.346 GB, free: 4.684 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.569, allocations: 0.9232 MB / 1.347 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/1.573, allocations: 2.118 MB / 1.349 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.573, allocations: 0 / 1.349 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.574, allocations: 191.8 kB / 1.35 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/1.574, allocations: 3.938 kB / 1.35 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/1.574, allocations: 20 kB / 1.35 GB, free: 1.328 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/1.574, allocations: 7.984 kB / 1.35 GB, free: 1.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.574, allocations: 4 kB / 1.35 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/1.576, allocations: 1.381 MB / 1.351 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/1.577, allocations: 259.8 kB / 1.351 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.577, allocations: 16 kB / 1.351 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/1.578, allocations: 25.67 kB / 1.351 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.578, allocations: 52.92 kB / 1.351 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/1.578, allocations: 27.98 kB / 1.351 GB, free: 15.52 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005954/1.579, allocations: 459 kB / 1.352 GB, free: 15.08 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/1.579, allocations: 0 / 1.352 GB, free: 15.08 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009823/1.58, allocations: 323.9 kB / 1.352 GB, free: 14.77 MB / 1.092 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.0004218/1.58, allocations: 207.1 kB / 1.352 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001483/1.581, allocations: 0.8129 MB / 1.353 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.581, allocations: 0.5 kB / 1.353 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006441/1.582, allocations: 445.5 kB / 1.353 GB, free: 13.31 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.585, allocations: 0.6003 MB / 1.354 GB, free: 12.72 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/1.589, allocations: 2.343 MB / 1.356 GB, free: 10.34 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008763/1.59, allocations: 1.12 MB / 1.357 GB, free: 9.195 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/1.591, allocations: 87.42 kB / 1.358 GB, free: 9.109 MB / 1.092 GB Notification: Performance of SimCode: time 8.71e-07/1.591, allocations: 3.938 kB / 1.358 GB, free: 9.105 MB / 1.092 GB Notification: Performance of Templates: time 0.02924/1.62, allocations: 18.8 MB / 1.376 GB, free: 6.391 MB / 1.107 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