Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001614/0.001614, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001612/0.001612, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.626/1.626, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.099/3.099, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 62.88 kB / 0.9087 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4062, allocations: 159.2 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.163/1.569, allocations: 210.9 MB / 1.27 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.587, allocations: 10.14 MB / 1.28 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/1.591, allocations: 37.53 kB / 1.28 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00376/1.594, allocations: 0.7501 MB / 1.281 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/1.608, allocations: 2.721 MB / 1.283 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006473/1.614, allocations: 1.296 MB / 1.285 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007925/1.622, allocations: 3.17 MB / 1.288 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/1.626, allocations: 1.011 MB / 1.289 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/1.63, allocations: 1.145 MB / 1.29 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/1.635, allocations: 1.143 MB / 1.291 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008812/1.636, allocations: 123 kB / 1.291 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009845/1.646, allocations: 2.858 MB / 1.294 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001683/1.647, allocations: 0.49 MB / 1.294 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003483/1.651, allocations: 0.7287 MB / 1.295 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006144/1.657, allocations: 2.085 MB / 1.297 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.657, allocations: 0 / 1.297 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.325e-06/1.657, allocations: 0.7812 kB / 1.297 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001052/1.657, allocations: 0.8125 kB / 1.297 GB, free: 4.039 MB / 0.9981 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.008434/1.666, allocations: 1.786 MB / 1.299 GB, free: 19.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.666, allocations: 10.47 kB / 1.299 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/1.669, allocations: 432.7 kB / 1.299 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/1.672, allocations: 0.8484 MB / 1.3 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/1.672, allocations: 70.09 kB / 1.3 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/1.672, allocations: 105 kB / 1.3 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/1.676, allocations: 1.198 MB / 1.302 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/1.676, allocations: 5.906 kB / 1.302 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.676, allocations: 47.67 kB / 1.302 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.967e-05/1.676, allocations: 54.48 kB / 1.302 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/1.679, allocations: 1.071 MB / 1.303 GB, free: 18.61 MB / 1.014 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.008943/1.687, allocations: 4.728 MB / 1.307 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/1.689, allocations: 0.9919 MB / 1.308 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.691, allocations: 0.5624 MB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/1.692, allocations: 0.6762 MB / 1.309 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/1.692, allocations: 43.5 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.347e-06/1.692, allocations: 1.469 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.006584/1.698, allocations: 2.299 MB / 1.312 GB, free: 14.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/1.698, allocations: 62.03 kB / 1.312 GB, free: 14.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.7, allocations: 0.6443 MB / 1.312 GB, free: 14.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.7, allocations: 41.33 kB / 1.312 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/1.7, allocations: 457.6 kB / 1.313 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.701, allocations: 289.8 kB / 1.313 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.701, allocations: 137.7 kB / 1.313 GB, free: 13.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002598/1.701, allocations: 394.3 kB / 1.314 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/1.702, allocations: 317.9 kB / 1.314 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/1.703, allocations: 432.3 kB / 1.314 GB, free: 13.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.704, allocations: 0.7813 MB / 1.315 GB, free: 13.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.704, allocations: 4.453 kB / 1.315 GB, free: 13.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002066/1.706, allocations: 0.9493 MB / 1.316 GB, free: 13.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.706, allocations: 4.844 kB / 1.316 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.706, allocations: 3.438 kB / 1.316 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/1.707, allocations: 58.84 kB / 1.316 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/1.707, allocations: 161.3 kB / 1.316 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006449/1.708, allocations: 0.6096 MB / 1.317 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.709, allocations: 103.5 kB / 1.317 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/1.71, allocations: 32.11 kB / 1.317 GB, free: 12.63 MB / 1.014 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.0007432/1.71, allocations: 310 kB / 1.317 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/1.711, allocations: 91.91 kB / 1.317 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/1.712, allocations: 0.9223 MB / 1.318 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.713, allocations: 8.031 kB / 1.318 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.713, allocations: 1.656 kB / 1.318 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001587/1.714, allocations: 0.9306 MB / 1.319 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/1.719, allocations: 2.115 MB / 1.321 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.719, allocations: 0 / 1.321 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/1.72, allocations: 195.3 kB / 1.322 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/1.72, allocations: 3 kB / 1.322 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/1.72, allocations: 16.59 kB / 1.322 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/1.72, allocations: 10.89 kB / 1.322 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.72, allocations: 4.188 kB / 1.322 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.722, allocations: 1.383 MB / 1.323 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/1.723, allocations: 254.5 kB / 1.323 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.723, allocations: 20.44 kB / 1.323 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.725, allocations: 85.88 kB / 1.323 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.725, allocations: 51.59 kB / 1.323 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/1.725, allocations: 25.58 kB / 1.323 GB, free: 11.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007859/1.726, allocations: 458.5 kB / 1.324 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.726, allocations: 0 / 1.324 GB, free: 11.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001564/1.727, allocations: 322.1 kB / 1.324 GB, free: 11.33 MB / 1.014 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.0005699/1.728, allocations: 217.2 kB / 1.324 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002413/1.73, allocations: 1.003 MB / 1.325 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.73, allocations: 0 / 1.325 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/1.731, allocations: 439.9 kB / 1.326 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.734, allocations: 0.5871 MB / 1.326 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.739, allocations: 2.818 MB / 1.329 GB, free: 9.602 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.741, allocations: 1.124 MB / 1.33 GB, free: 8.883 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/1.741, allocations: 77.22 kB / 1.33 GB, free: 8.875 MB / 1.014 GB Notification: Performance of SimCode: time 2.164e-06/1.741, allocations: 0 / 1.33 GB, free: 8.875 MB / 1.014 GB Notification: Performance of Templates: time 0.03823/1.779, allocations: 18.7 MB / 1.348 GB, free: 4.148 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches