Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001309/0.001309, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 290.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.917/0.917, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3574, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12): time 0.1638/0.5213, allocations: 162.1 MB / 0.9254 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.5482, allocations: 23.24 MB / 0.9481 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.5504, allocations: 67.56 kB / 0.9481 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.5537, allocations: 2.622 MB / 0.9507 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.5577, allocations: 2.256 MB / 0.9529 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.5606, allocations: 1.145 MB / 0.954 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.5647, allocations: 3.402 MB / 0.9573 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3519/0.9166, allocations: 1.658 MB / 0.959 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.9195, allocations: 1.448 MB / 0.9604 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.9221, allocations: 2.121 MB / 0.9624 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.9224, allocations: 146 kB / 0.9626 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.9237, allocations: 0.6102 MB / 0.9632 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/0.9243, allocations: 0.6926 MB / 0.9639 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009479/0.9252, allocations: 1.087 MB / 0.9649 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.9278, allocations: 2.835 MB / 0.9677 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9278, allocations: 4.094 kB / 0.9677 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9279, allocations: 0 / 0.9677 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.9279, allocations: 0 / 0.9677 GB, free: 4.852 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003545/0.9314, allocations: 2.934 MB / 0.9706 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9315, allocations: 11.75 kB / 0.9706 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.9319, allocations: 306.8 kB / 0.9709 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.9337, allocations: 1.497 MB / 0.9723 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.9339, allocations: 116.9 kB / 0.9724 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.934, allocations: 100.5 kB / 0.9725 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.9357, allocations: 1.099 MB / 0.9736 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.9357, allocations: 5 kB / 0.9736 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.9358, allocations: 43.3 kB / 0.9737 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.9358, allocations: 24.44 kB / 0.9737 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.9373, allocations: 0.871 MB / 0.9745 GB, free: 2.367 MB / 0.7169 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.005623/0.9429, allocations: 5.224 MB / 0.9796 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.9446, allocations: 0.9444 MB / 0.9805 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008261/0.9454, allocations: 0.53 MB / 0.9811 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.9459, allocations: 0.5048 MB / 0.9816 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000899/0.9468, allocations: 0.5522 MB / 0.9821 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.586e-06/0.9468, allocations: 0.9375 kB / 0.9821 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.004149/0.9509, allocations: 2.164 MB / 0.9842 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.951, allocations: 63.59 kB / 0.9843 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.9544, allocations: 3.91 MB / 0.9881 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.9545, allocations: 52.41 kB / 0.9881 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.9552, allocations: 1.144 MB / 0.9893 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.9554, allocations: 308.1 kB / 0.9896 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.9557, allocations: 176 kB / 0.9897 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9558, allocations: 343.7 kB / 0.99 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.9565, allocations: 403.3 kB / 0.9904 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.9573, allocations: 0.5647 MB / 0.991 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.9588, allocations: 0.9699 MB / 0.9919 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.9588, allocations: 3.062 kB / 0.9919 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00241/0.9613, allocations: 1.487 MB / 0.9934 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9613, allocations: 8.156 kB / 0.9934 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.9613, allocations: 3.656 kB / 0.9934 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.9618, allocations: 222.9 kB / 0.9936 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.9625, allocations: 196.5 kB / 0.9938 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.9666, allocations: 4.674 MB / 0.9984 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.9674, allocations: 118.2 kB / 0.9985 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.9675, allocations: 37.12 kB / 0.9985 GB, free: 10.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (110): * Single equations (assignments): 108 * 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.001103/0.9686, allocations: 0.7253 MB / 0.9992 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.9689, allocations: 258.7 kB / 0.9995 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.9713, allocations: 1.482 MB / 1.001 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/0.9732, allocations: 1.35 MB / 1.002 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.9732, allocations: 4.656 kB / 1.002 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.9738, allocations: 397.2 kB / 1.003 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.974, allocations: 25.03 kB / 1.003 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.9746, allocations: 44.48 kB / 1.003 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.9747, allocations: 98.47 kB / 1.003 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002865/0.9776, allocations: 1.423 MB / 1.004 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002578/0.9802, allocations: 1.951 MB / 1.006 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006655/0.9809, allocations: 477.9 kB / 1.007 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002845/0.9837, allocations: 2.847 MB / 1.009 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of Backend: time 3.4e-07/0.9837, allocations: 0 / 1.009 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003932/0.9877, allocations: 2.062 MB / 1.011 GB, free: 8 MB / 0.7325 GB Notification: Performance of SimCode: time 0.007383/0.9951, allocations: 5.398 MB / 1.017 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.03946/1.035, allocations: 22.77 MB / 1.039 GB, free: 8.848 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe 2>&1)