Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001882/0.001882, allocations: 194.8 kB / 16.14 MB, free: 6.688 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.662/2.662, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.83 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2625, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7181/0.9807, allocations: 199.9 MB / 1.263 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.9935, allocations: 10.24 MB / 1.273 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.9957, allocations: 59.5 kB / 1.273 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.9991, allocations: 2.611 MB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005041/1.004, allocations: 2.631 MB / 1.278 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/1.008, allocations: 1.316 MB / 1.279 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006347/1.014, allocations: 4.888 MB / 1.284 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/1.017, allocations: 1.901 MB / 1.286 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/1.021, allocations: 1.491 MB / 1.287 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/1.025, allocations: 2.344 MB / 1.29 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003599/1.025, allocations: 97.88 kB / 1.29 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/1.029, allocations: 1.607 MB / 1.291 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008545/1.03, allocations: 0.8398 MB / 1.292 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/1.031, allocations: 1.212 MB / 1.293 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/1.036, allocations: 3.695 MB / 1.297 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.036, allocations: 1.688 kB / 1.297 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.61e-07/1.036, allocations: 0 / 1.297 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.596e-05/1.036, allocations: 0 / 1.297 GB, free: 3.77 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005267/1.041, allocations: 3.299 MB / 1.3 GB, free: 18.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.041, allocations: 9.375 kB / 1.3 GB, free: 18.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/1.043, allocations: 458.3 kB / 1.3 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/1.045, allocations: 1.561 MB / 1.302 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/1.045, allocations: 134 kB / 1.302 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.045, allocations: 128.1 kB / 1.302 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/1.048, allocations: 1.52 MB / 1.304 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/1.048, allocations: 1.375 kB / 1.304 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.048, allocations: 50.88 kB / 1.304 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/1.048, allocations: 42.56 kB / 1.304 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/1.05, allocations: 1.256 MB / 1.305 GB, free: 17.04 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.008277/1.059, allocations: 6.532 MB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.061, allocations: 1.2 MB / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/1.062, allocations: 0.673 MB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/1.062, allocations: 297.4 kB / 1.314 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/1.063, allocations: 0.6795 MB / 1.314 GB, free: 13.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.337e-06/1.063, allocations: 0 / 1.314 GB, free: 13.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.004915/1.068, allocations: 2.381 MB / 1.317 GB, free: 13.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.068, allocations: 65.75 kB / 1.317 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/1.072, allocations: 4.021 MB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.072, allocations: 55.95 kB / 1.321 GB, free: 13.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/1.073, allocations: 1.273 MB / 1.322 GB, free: 12.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/1.074, allocations: 385.5 kB / 1.322 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.074, allocations: 210.7 kB / 1.322 GB, free: 12.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.074, allocations: 355.8 kB / 1.323 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/1.075, allocations: 0.4969 MB / 1.323 GB, free: 12.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.076, allocations: 0.7524 MB / 1.324 GB, free: 11.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.078, allocations: 1.26 MB / 1.325 GB, free: 11.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.078, allocations: 2.906 kB / 1.325 GB, free: 11.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003128/1.081, allocations: 1.778 MB / 1.327 GB, free: 11.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.081, allocations: 9.078 kB / 1.327 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.081, allocations: 5.031 kB / 1.327 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/1.082, allocations: 220 kB / 1.327 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/1.083, allocations: 247.8 kB / 1.327 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/1.087, allocations: 4.197 MB / 1.331 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.088, allocations: 187.6 kB / 1.332 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/1.088, allocations: 50.39 kB / 1.332 GB, free: 8.633 MB / 1.014 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001346/1.09, allocations: 0.812 MB / 1.332 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.09, allocations: 280 kB / 1.333 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.093, allocations: 1.653 MB / 1.334 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.093, allocations: 10.78 kB / 1.334 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.093, allocations: 5.031 kB / 1.334 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002265/1.095, allocations: 1.447 MB / 1.336 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/1.101, allocations: 3.606 MB / 1.339 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.101, allocations: 6.688 kB / 1.339 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/1.102, allocations: 165.5 kB / 1.339 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/1.102, allocations: 211.5 kB / 1.34 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/1.102, allocations: 30.56 kB / 1.34 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/1.106, allocations: 4.222 MB / 1.344 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.106, allocations: 3.938 kB / 1.344 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/1.11, allocations: 2.341 MB / 1.346 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/1.111, allocations: 432.5 kB / 1.347 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/1.111, allocations: 35.19 kB / 1.347 GB, free: 1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/1.112, allocations: 99.53 kB / 1.347 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.112, allocations: 101.4 kB / 1.347 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/1.112, allocations: 44.77 kB / 1.347 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003184/1.116, allocations: 2.919 MB / 1.35 GB, free: 15.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/1.116, allocations: 0 / 1.35 GB, free: 15.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00163/1.117, allocations: 0.5161 MB / 1.35 GB, free: 15.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/1.119, allocations: 0.5997 MB / 1.351 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.121, allocations: 1.529 MB / 1.352 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.121, allocations: 0 / 1.352 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.123, allocations: 0.9287 MB / 1.353 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.126, allocations: 0.5732 MB / 1.354 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/1.134, allocations: 6.541 MB / 1.36 GB, free: 9.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.135, allocations: 1.92 MB / 1.362 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001123/1.136, allocations: 324.1 kB / 1.362 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.137, allocations: 114.1 kB / 1.362 GB, free: 8.305 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/1.137, allocations: 0 / 1.362 GB, free: 8.305 MB / 1.029 GB Notification: Performance of Templates: time 0.04352/1.18, allocations: 24.53 MB / 1.386 GB, free: 1.699 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)