Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01082/0.01082, allocations: 222.2 kB / 15.17 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001124/0.001124, allocations: 178.5 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.845/3.845, allocations: 389.1 MB / 405.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.919/3.919, allocations: 472.3 MB / 0.9018 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 98.72 MB / 1.104 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.7388/0.8699, allocations: 139.6 MB / 1.24 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0319/0.9018, allocations: 20.93 MB / 1.261 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.9051, allocations: 62.22 kB / 1.261 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.9078, allocations: 0.833 MB / 1.262 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006963/0.9148, allocations: 1.744 MB / 1.263 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.9206, allocations: 1.439 MB / 1.265 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009193/0.9298, allocations: 5.449 MB / 1.27 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005906/0.9358, allocations: 3.252 MB / 1.273 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.9395, allocations: 1.524 MB / 1.275 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.9442, allocations: 2.124 MB / 1.277 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009334/0.9452, allocations: 140.8 kB / 1.277 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.9482, allocations: 0.596 MB / 1.278 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.9498, allocations: 0.8403 MB / 1.278 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.9512, allocations: 0.7418 MB / 1.279 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007979/0.9592, allocations: 4.996 MB / 1.284 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.676e-06/0.9593, allocations: 0 / 1.284 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.513e-06/0.9593, allocations: 0 / 1.284 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001876/0.9595, allocations: 0 / 1.284 GB, free: 9.93 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01267/0.9722, allocations: 4.37 MB / 1.288 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.9723, allocations: 13.06 kB / 1.288 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.9901, allocations: 2.875 MB / 1.291 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007143/0.9972, allocations: 2.347 MB / 1.293 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.9976, allocations: 281.9 kB / 1.294 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.9989, allocations: 369.7 kB / 1.294 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/1.017, allocations: 5.622 MB / 1.3 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/1.017, allocations: 7.922 kB / 1.3 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006705/1.018, allocations: 155.9 kB / 1.3 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.018, allocations: 92 kB / 1.3 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.041, allocations: 6.791 MB / 1.306 GB, free: 8.375 MB / 0.6667 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.04278/1.084, allocations: 17.21 MB / 1.323 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/1.098, allocations: 4.595 MB / 1.328 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008696/1.106, allocations: 3.025 MB / 1.331 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.108, allocations: 0.6855 MB / 1.331 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008759/1.117, allocations: 2.678 MB / 1.334 GB, free: 11.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=313): time 8.983e-06/1.117, allocations: 4 kB / 1.334 GB, free: 11.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=313): time 0.0359/1.152, allocations: 9.468 MB / 1.343 GB, free: 1.645 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.153, allocations: 188.7 kB / 1.343 GB, free: 1.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/1.158, allocations: 2.555 MB / 1.346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007326/1.158, allocations: 81.7 kB / 1.346 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.16, allocations: 1.475 MB / 1.347 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/1.162, allocations: 1.039 MB / 1.348 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/1.162, allocations: 56 kB / 1.348 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003064/1.163, allocations: 423.8 kB / 1.349 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006838/1.17, allocations: 2.156 MB / 1.351 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007618/1.177, allocations: 2.511 MB / 1.353 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/1.185, allocations: 2.411 MB / 1.356 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.185, allocations: 0 / 1.356 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.0188/1.204, allocations: 5.912 MB / 1.362 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.204, allocations: 97.83 kB / 1.362 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.204, allocations: 7.938 kB / 1.362 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/1.206, allocations: 0.8399 MB / 1.362 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/1.212, allocations: 0.78 MB / 1.363 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/1.227, allocations: 6.992 MB / 1.37 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/1.232, allocations: 0.5743 MB / 1.371 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007734/1.233, allocations: 123.9 kB / 1.371 GB, free: 5.02 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003166/1.236, allocations: 1.013 MB / 1.372 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/1.237, allocations: 300.3 kB / 1.372 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/1.258, allocations: 6.288 MB / 1.378 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/1.258, allocations: 32 kB / 1.378 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.258, allocations: 8 kB / 1.378 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-05/1.258, allocations: 15.94 kB / 1.378 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0305/1.288, allocations: 10.54 MB / 1.388 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.288, allocations: 0 / 1.388 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005493/1.294, allocations: 0.7333 MB / 1.389 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/1.297, allocations: 0.7418 MB / 1.39 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007654/1.297, allocations: 87.92 kB / 1.39 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.314, allocations: 9.764 MB / 1.4 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.012e-06/1.314, allocations: 0 / 1.4 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03267/1.347, allocations: 8.877 MB / 1.408 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/1.35, allocations: 0.9375 MB / 1.409 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.351, allocations: 63.98 kB / 1.409 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004473/1.355, allocations: 415.3 kB / 1.41 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008379/1.356, allocations: 206.2 kB / 1.41 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004786/1.357, allocations: 107.9 kB / 1.41 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003653/1.36, allocations: 1.839 MB / 1.412 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-06/1.361, allocations: 4 kB / 1.412 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004863/1.365, allocations: 1.219 MB / 1.413 GB, free: 9.105 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/1.369, allocations: 1.026 MB / 1.414 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.386, allocations: 5.62 MB / 1.419 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.386, allocations: 4 kB / 1.419 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00957/1.396, allocations: 3.254 MB / 1.423 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.401, allocations: 0.6463 MB / 1.423 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/1.425, allocations: 10.26 MB / 1.433 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/1.43, allocations: 2.73 MB / 1.436 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.008466/1.438, allocations: 1.151 MB / 1.437 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003646/1.442, allocations: 271.2 kB / 1.437 GB, free: 324 kB / 0.7917 GB Notification: Performance of SimCode: time 2.525e-06/1.442, allocations: 0 / 1.437 GB, free: 324 kB / 0.7917 GB Notification: Performance of Templates: time 0.6644/2.106, allocations: 49.18 MB / 1.485 GB, free: 271.7 MB / 0.823 GB