Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008742/0.008742, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 6.875 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1546/0.4563, allocations: 152.4 MB / 1.223 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.4799, allocations: 21.38 MB / 1.244 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.4816, allocations: 47.69 kB / 1.244 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.4831, allocations: 1.126 MB / 1.245 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.4844, allocations: 0.8099 MB / 1.246 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.4854, allocations: 386.2 kB / 1.246 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.4869, allocations: 1.348 MB / 1.247 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007574/0.4877, allocations: 0.585 MB / 1.248 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.4882, allocations: 482.2 kB / 1.248 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008935/0.4891, allocations: 0.8863 MB / 1.249 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.4892, allocations: 28 kB / 1.249 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.4894, allocations: 67.98 kB / 1.249 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.4896, allocations: 288.8 kB / 1.25 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.49, allocations: 470.5 kB / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.4909, allocations: 1.128 MB / 1.251 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4909, allocations: 0 / 1.251 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.491, allocations: 0 / 1.251 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.491, allocations: 0 / 1.251 GB, free: 1.496 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001986/0.493, allocations: 1.32 MB / 1.253 GB, free: 128 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.493, allocations: 8.031 kB / 1.253 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5154/1.008, allocations: 136.3 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.009, allocations: 0.6524 MB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.01, allocations: 77.8 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/1.01, allocations: 47.44 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/1.011, allocations: 0.5264 MB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.011, allocations: 5.469 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/1.011, allocations: 20.83 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/1.011, allocations: 10.81 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/1.012, allocations: 434.6 kB / 1.254 GB, free: 185 MB / 0.9981 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.003365/1.015, allocations: 2.782 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009764/1.016, allocations: 463.9 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/1.017, allocations: 317.5 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/1.017, allocations: 4.578 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/1.018, allocations: 298.4 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/1.018, allocations: 0 / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002585/1.02, allocations: 1.188 MB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.02, allocations: 56.41 kB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.022, allocations: 1.767 MB / 1.261 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/1.022, allocations: 39.89 kB / 1.261 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/1.023, allocations: 0.5223 MB / 1.262 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/1.023, allocations: 149.9 kB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/1.023, allocations: 54.88 kB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/1.023, allocations: 325.8 kB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/1.023, allocations: 233.2 kB / 1.262 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/1.024, allocations: 358.8 kB / 1.263 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/1.025, allocations: 0.5425 MB / 1.263 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.025, allocations: 0 / 1.263 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00145/1.026, allocations: 0.8447 MB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.026, allocations: 9.031 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.026, allocations: 7.531 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/1.026, allocations: 137.9 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/1.027, allocations: 110 kB / 1.264 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/1.029, allocations: 2.392 MB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/1.03, allocations: 93.48 kB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.03, allocations: 18.8 kB / 1.267 GB, free: 179 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004203/1.03, allocations: 386.1 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/1.03, allocations: 119.8 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.03, allocations: 142.2 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.03, allocations: 9.531 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.03, allocations: 2.625 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.03, allocations: 2.531 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/1.033, allocations: 1.527 MB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.033, allocations: 0 / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/1.033, allocations: 45.88 kB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/1.033, allocations: 161.6 kB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/1.033, allocations: 15.14 kB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/1.036, allocations: 3.706 MB / 1.273 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.036, allocations: 3.938 kB / 1.273 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.038, allocations: 1.013 MB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/1.038, allocations: 221.5 kB / 1.274 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/1.038, allocations: 13.81 kB / 1.274 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/1.039, allocations: 41.06 kB / 1.274 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.039, allocations: 51.92 kB / 1.274 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/1.039, allocations: 16.47 kB / 1.274 GB, free: 174 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001446/1.04, allocations: 1.287 MB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.04, allocations: 0 / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007604/1.041, allocations: 203.3 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.001068/1.042, allocations: 494.3 kB / 1.276 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.044, allocations: 0.6859 MB / 1.277 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.044, allocations: 8.062 kB / 1.277 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/1.044, allocations: 0.536 MB / 1.277 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.045, allocations: 191.1 kB / 1.277 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/1.049, allocations: 2.772 MB / 1.28 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/1.05, allocations: 1.151 MB / 1.281 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00032/1.05, allocations: 93.08 kB / 1.281 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.05, allocations: 46.67 kB / 1.281 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/1.05, allocations: 0 / 1.281 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01785/1.068, allocations: 9.213 MB / 1.29 GB, free: 168.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)