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.00155/0.00155, allocations: 116.7 kB / 16.37 MB, free: 6 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.001599/0.001599, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.83 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2667, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.6435/0.9102, allocations: 213.6 MB / 1.16 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.9232, allocations: 10.19 MB / 1.17 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.9252, allocations: 38.44 kB / 1.17 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.9276, allocations: 0.8396 MB / 1.171 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008063/0.9358, allocations: 2.888 MB / 1.173 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.9399, allocations: 1.416 MB / 1.175 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004847/0.9448, allocations: 3.168 MB / 1.178 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.9467, allocations: 1.029 MB / 1.179 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.9498, allocations: 1.125 MB / 1.18 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.9531, allocations: 1.081 MB / 1.181 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.9536, allocations: 121.2 kB / 1.181 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008178/0.9618, allocations: 2.737 MB / 1.184 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.963, allocations: 495.9 kB / 1.184 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.9652, allocations: 0.7278 MB / 1.185 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008556/0.9738, allocations: 2.809 MB / 1.188 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9739, allocations: 4 kB / 1.188 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9739, allocations: 0 / 1.188 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.55e-05/0.974, allocations: 0 / 1.188 GB, free: 9.051 MB / 0.8731 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.005678/0.9796, allocations: 1.793 MB / 1.189 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9797, allocations: 7.062 kB / 1.189 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.9829, allocations: 431.6 kB / 1.19 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.9847, allocations: 0.8835 MB / 1.191 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.9847, allocations: 80.97 kB / 1.191 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.9849, allocations: 97.02 kB / 1.191 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.9869, allocations: 1.198 MB / 1.192 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.987, allocations: 3.562 kB / 1.192 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.9871, allocations: 45.06 kB / 1.192 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.9872, allocations: 53.89 kB / 1.192 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.989, allocations: 1.066 MB / 1.193 GB, free: 5.508 MB / 0.8731 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.006005/0.995, allocations: 4.756 MB / 1.198 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.9965, allocations: 0.9945 MB / 1.199 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000929/0.9975, allocations: 0.5669 MB / 1.199 GB, free: 448 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.9981, allocations: 0.6687 MB / 1.2 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.9982, allocations: 49.36 kB / 1.2 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.9982, allocations: 3.938 kB / 1.2 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.004376/1.003, allocations: 2.297 MB / 1.202 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.003, allocations: 64.97 kB / 1.202 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/1.004, allocations: 0.6434 MB / 1.203 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/1.004, allocations: 46.67 kB / 1.203 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/1.004, allocations: 460.1 kB / 1.204 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.004, allocations: 289.6 kB / 1.204 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.004, allocations: 136.9 kB / 1.204 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.005, allocations: 390.5 kB / 1.204 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/1.005, allocations: 321.6 kB / 1.205 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/1.006, allocations: 427.8 kB / 1.205 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.007, allocations: 0.7843 MB / 1.206 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.007, allocations: 0 / 1.206 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00155/1.008, allocations: 0.9501 MB / 1.207 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.008, allocations: 4.312 kB / 1.207 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.008, allocations: 3.219 kB / 1.207 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/1.009, allocations: 56.7 kB / 1.207 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/1.009, allocations: 155.8 kB / 1.207 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004948/1.01, allocations: 0.6143 MB / 1.208 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008034/1.011, allocations: 23.28 kB / 1.208 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/1.011, allocations: 28.44 kB / 1.208 GB, free: 10.62 MB / 0.8887 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.0004541/1.011, allocations: 299.5 kB / 1.208 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/1.011, allocations: 90.53 kB / 1.208 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.013, allocations: 0.9371 MB / 1.209 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.013, allocations: 7.75 kB / 1.209 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.013, allocations: 2.188 kB / 1.209 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.014, allocations: 0.9248 MB / 1.21 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.018, allocations: 2.11 MB / 1.212 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.018, allocations: 2.375 kB / 1.212 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/1.018, allocations: 196.5 kB / 1.212 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.019, allocations: 2.594 kB / 1.212 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/1.019, allocations: 19.5 kB / 1.212 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/1.019, allocations: 7.562 kB / 1.212 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.019, allocations: 0 / 1.212 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.021, allocations: 1.391 MB / 1.213 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/1.021, allocations: 250.1 kB / 1.214 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.021, allocations: 17.12 kB / 1.214 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/1.022, allocations: 32.66 kB / 1.214 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.022, allocations: 54.27 kB / 1.214 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/1.022, allocations: 25.41 kB / 1.214 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005359/1.023, allocations: 456.8 kB / 1.214 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.023, allocations: 0 / 1.214 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008555/1.024, allocations: 323 kB / 1.215 GB, free: 6.398 MB / 0.8887 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.0003451/1.024, allocations: 208.5 kB / 1.215 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.025, allocations: 0.8175 MB / 1.216 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.025, allocations: 2.188 kB / 1.216 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/1.026, allocations: 435.7 kB / 1.216 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.028, allocations: 0.5853 MB / 1.217 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/1.032, allocations: 2.291 MB / 1.219 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/1.032, allocations: 1.128 MB / 1.22 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009017/1.033, allocations: 245.2 kB / 1.22 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/1.034, allocations: 91.45 kB / 1.22 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of SimCode: time 4.2e-07/1.034, allocations: 0 / 1.22 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of Templates: time 0.03212/1.066, allocations: 20.47 MB / 1.24 GB, free: 1.305 MB / 0.9044 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 -s gbode -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