Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8453/0.8453, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 184.5 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.2 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002725/0.002725, allocations: 275.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.88 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2963, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.4498/0.7461, allocations: 156 MB / 0.9202 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02457/0.7707, allocations: 22.05 MB / 0.9418 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.7743, allocations: 56.41 kB / 0.9418 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.777, allocations: 1.957 MB / 0.9437 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.7792, allocations: 1.277 MB / 0.945 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.7811, allocations: 0.6067 MB / 0.9456 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.7838, allocations: 2.035 MB / 0.9476 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.7853, allocations: 1.059 MB / 0.9486 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.7864, allocations: 0.8181 MB / 0.9494 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.788, allocations: 1.432 MB / 0.9508 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.7882, allocations: 60.91 kB / 0.9508 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.7887, allocations: 111.2 kB / 0.9509 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.789, allocations: 0.4949 MB / 0.9514 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.7896, allocations: 0.7724 MB / 0.9522 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.7911, allocations: 1.879 MB / 0.954 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7911, allocations: 0 / 0.954 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7912, allocations: 0 / 0.954 GB, free: 15.76 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.629e-05/0.7912, allocations: 0 / 0.954 GB, free: 15.76 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003993/0.7952, allocations: 2.378 MB / 0.9563 GB, free: 14.45 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7953, allocations: 14.84 kB / 0.9564 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.7956, allocations: 240.5 kB / 0.9566 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.7971, allocations: 1.042 MB / 0.9576 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.7972, allocations: 102.4 kB / 0.9577 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.7973, allocations: 80.28 kB / 0.9578 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.7987, allocations: 0.8647 MB / 0.9586 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.7988, allocations: 6.906 kB / 0.9586 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.7988, allocations: 32.59 kB / 0.9587 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.7988, allocations: 18.78 kB / 0.9587 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.8001, allocations: 0.6526 MB / 0.9593 GB, free: 13.59 MB / 0.573 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.005755/0.8058, allocations: 4.175 MB / 0.9634 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.8072, allocations: 0.7119 MB / 0.9641 GB, free: 11.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006971/0.8079, allocations: 418.1 kB / 0.9645 GB, free: 11.49 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.808, allocations: 10.58 kB / 0.9645 GB, free: 11.49 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/0.8087, allocations: 431.4 kB / 0.9649 GB, free: 11.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=79): time 2.895e-06/0.8088, allocations: 0 / 0.9649 GB, free: 11.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=79): time 0.006083/0.8148, allocations: 2.108 MB / 0.967 GB, free: 10.92 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.8149, allocations: 87.83 kB / 0.967 GB, free: 10.82 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.8182, allocations: 3.203 MB / 0.9702 GB, free: 9.645 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-05/0.8183, allocations: 45.08 kB / 0.9702 GB, free: 9.602 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.819, allocations: 0.9654 MB / 0.9712 GB, free: 8.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.8192, allocations: 255.8 kB / 0.9714 GB, free: 8.559 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.8194, allocations: 150.4 kB / 0.9715 GB, free: 8.469 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8195, allocations: 344.2 kB / 0.9719 GB, free: 8.137 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.8202, allocations: 312.4 kB / 0.9722 GB, free: 7.988 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.8209, allocations: 468.1 kB / 0.9726 GB, free: 7.668 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.8222, allocations: 0.7371 MB / 0.9733 GB, free: 7.223 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.8222, allocations: 0 / 0.9733 GB, free: 7.223 MB / 0.573 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002404/0.8246, allocations: 1.232 MB / 0.9745 GB, free: 6.613 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8247, allocations: 7.844 kB / 0.9746 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8247, allocations: 4.312 kB / 0.9746 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/0.8256, allocations: 330.7 kB / 0.9749 GB, free: 6.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.8261, allocations: 128.5 kB / 0.975 GB, free: 6.449 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/0.8314, allocations: 3.789 MB / 0.9787 GB, free: 3.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/0.8322, allocations: 119.6 kB / 0.9788 GB, free: 3.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.8323, allocations: 32.16 kB / 0.9788 GB, free: 3.562 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0007922/0.8331, allocations: 0.5876 MB / 0.9794 GB, free: 3.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.8333, allocations: 211.1 kB / 0.9796 GB, free: 3.133 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.8337, allocations: 258.6 kB / 0.9799 GB, free: 2.984 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.8337, allocations: 8 kB / 0.9799 GB, free: 2.984 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.8337, allocations: 0.9062 kB / 0.9799 GB, free: 2.984 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8337, allocations: 4.922 kB / 0.9799 GB, free: 2.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.8375, allocations: 2.403 MB / 0.9822 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.8375, allocations: 8 kB / 0.9822 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.8378, allocations: 74.8 kB / 0.9823 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008659/0.8387, allocations: 340.7 kB / 0.9826 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.8387, allocations: 15.98 kB / 0.9826 GB, free: 288 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.8447, allocations: 5.049 MB / 0.9876 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8447, allocations: 0 / 0.9876 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/0.8652, allocations: 14.15 MB / 1.001 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.8657, allocations: 310.3 kB / 1.002 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.8658, allocations: 23.94 kB / 1.002 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.8663, allocations: 67.81 kB / 1.002 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.8666, allocations: 92.5 kB / 1.002 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.8666, allocations: 28.11 kB / 1.002 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002271/0.8689, allocations: 2.337 MB / 1.004 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8689, allocations: 0 / 1.004 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001417/0.8703, allocations: 475.3 kB / 1.005 GB, free: 9.031 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009939/0.8713, allocations: 0.4983 MB / 1.005 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.8733, allocations: 1.021 MB / 1.006 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8733, allocations: 0 / 1.006 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.8747, allocations: 0.7739 MB / 1.007 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.876, allocations: 273 kB / 1.007 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/0.8828, allocations: 5.555 MB / 1.013 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.8838, allocations: 1.556 MB / 1.014 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.8843, allocations: 139.1 kB / 1.014 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.8845, allocations: 67.42 kB / 1.014 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/0.8845, allocations: 4 kB / 1.014 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.03237/0.9169, allocations: 19.55 MB / 1.033 GB, free: 11.93 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)