Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003585/0.003585, allocations: 352.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.412/1.412, allocations: 165.8 MB / 182.5 MB, free: 5.391 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.581/3.581, allocations: 410.8 MB / 0.5995 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 197.5 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 8 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3415, allocations: 67.43 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5656/0.9072, allocations: 181.3 MB / 0.9852 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.9238, allocations: 9.801 MB / 0.9947 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.9263, allocations: 55.69 kB / 0.9948 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.9307, allocations: 2.688 MB / 0.9974 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009001/0.9397, allocations: 3.328 MB / 1.001 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005174/0.9449, allocations: 1.513 MB / 1.002 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004966/0.9499, allocations: 4.151 MB / 1.006 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.952, allocations: 1.546 MB / 1.008 GB, free: 9.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.9541, allocations: 1.354 MB / 1.009 GB, free: 9.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.9565, allocations: 1.975 MB / 1.011 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.9568, allocations: 65.22 kB / 1.011 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.9589, allocations: 0.6681 MB / 1.012 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008172/0.9597, allocations: 0.7724 MB / 1.012 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004933/0.9602, allocations: 495.2 kB / 1.013 GB, free: 7.918 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.9633, allocations: 2.612 MB / 1.015 GB, free: 6.574 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.978e-06/0.9633, allocations: 7.25 kB / 1.015 GB, free: 6.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.9633, allocations: 0 / 1.015 GB, free: 6.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.9634, allocations: 3.938 kB / 1.015 GB, free: 6.566 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005256/0.9687, allocations: 2.814 MB / 1.018 GB, free: 3.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9687, allocations: 8.031 kB / 1.018 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.9708, allocations: 454.8 kB / 1.019 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.9736, allocations: 1.426 MB / 1.02 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.9739, allocations: 148.4 kB / 1.02 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.9741, allocations: 124.5 kB / 1.02 GB, free: 2.059 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.9776, allocations: 1.503 MB / 1.022 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.9776, allocations: 3.938 kB / 1.022 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.9778, allocations: 53.55 kB / 1.022 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.9779, allocations: 46.41 kB / 1.022 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.981, allocations: 1.258 MB / 1.023 GB, free: 56 kB / 490.7 MB 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.01082/0.9919, allocations: 6.429 MB / 1.029 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.9951, allocations: 1.34 MB / 1.031 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.9967, allocations: 0.6834 MB / 1.031 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/0.9972, allocations: 294.5 kB / 1.032 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.9988, allocations: 0.6802 MB / 1.032 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=112): time 5.22e-06/0.9989, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.006883/1.006, allocations: 2.389 MB / 1.035 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/1.006, allocations: 67.34 kB / 1.035 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/1.012, allocations: 4.006 MB / 1.039 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.012, allocations: 54.77 kB / 1.039 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.014, allocations: 1.283 MB / 1.04 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/1.014, allocations: 363.9 kB / 1.04 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/1.014, allocations: 31.81 kB / 1.04 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.014, allocations: 351.6 kB / 1.041 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.016, allocations: 480.5 kB / 1.041 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/1.017, allocations: 0.723 MB / 1.042 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.019, allocations: 0.586 MB / 1.042 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-06/1.019, allocations: 4 kB / 1.042 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00427/1.023, allocations: 1.713 MB / 1.044 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.023, allocations: 12.06 kB / 1.044 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.023, allocations: 4 kB / 1.044 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000839/1.024, allocations: 222 kB / 1.044 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.025, allocations: 239.9 kB / 1.045 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/1.031, allocations: 4.237 MB / 1.049 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.033, allocations: 178.4 kB / 1.049 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.033, allocations: 49.7 kB / 1.049 GB, free: 11.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001667/1.035, allocations: 0.8127 MB / 1.05 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004937/1.035, allocations: 272.5 kB / 1.05 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/1.039, allocations: 1.651 MB / 1.052 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.04, allocations: 12 kB / 1.052 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-06/1.04, allocations: 3.938 kB / 1.052 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003304/1.043, allocations: 1.436 MB / 1.053 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007824/1.051, allocations: 3.573 MB / 1.056 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.051, allocations: 4 kB / 1.056 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.052, allocations: 167.4 kB / 1.057 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/1.053, allocations: 212.3 kB / 1.057 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/1.053, allocations: 40.61 kB / 1.057 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/1.059, allocations: 4.191 MB / 1.061 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.038e-06/1.059, allocations: 0 / 1.061 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005586/1.064, allocations: 2.378 MB / 1.063 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/1.065, allocations: 455 kB / 1.064 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.066, allocations: 39.92 kB / 1.064 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.067, allocations: 99.81 kB / 1.064 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/1.067, allocations: 100.8 kB / 1.064 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.067, allocations: 43.97 kB / 1.064 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004646/1.072, allocations: 2.908 MB / 1.067 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.94e-07/1.072, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001979/1.074, allocations: 0.5145 MB / 1.067 GB, free: 10.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/1.076, allocations: 0.5933 MB / 1.068 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003596/1.08, allocations: 1.502 MB / 1.069 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.205e-06/1.08, allocations: 0 / 1.069 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.082, allocations: 0.9328 MB / 1.07 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/1.085, allocations: 0.5498 MB / 1.071 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.096, allocations: 6.392 MB / 1.077 GB, free: 480 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/1.099, allocations: 1.968 MB / 1.079 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001567/1.101, allocations: 330.6 kB / 1.079 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/1.101, allocations: 107.4 kB / 1.079 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of SimCode: time 1.991e-06/1.101, allocations: 4 kB / 1.079 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.06431/1.165, allocations: 23.15 MB / 1.102 GB, free: 7.133 MB / 0.5573 GB