Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001269/0.001269, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 283.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.17/1.17, allocations: 178.6 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 107.8 kB / 0.6071 GB, free: 9.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.173, allocations: 89.13 MB / 0.6942 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4128/0.5858, allocations: 157.9 MB / 0.8483 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.6136, allocations: 22.14 MB / 0.8699 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.6161, allocations: 62.69 kB / 0.87 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.618, allocations: 1.381 MB / 0.8713 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.6201, allocations: 1.019 MB / 0.8723 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.6218, allocations: 0.6358 MB / 0.873 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.6239, allocations: 1.688 MB / 0.8746 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.6251, allocations: 0.9727 MB / 0.8756 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009487/0.6261, allocations: 0.7242 MB / 0.8763 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.6275, allocations: 1.191 MB / 0.8774 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.6277, allocations: 92 kB / 0.8775 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.628, allocations: 140 kB / 0.8777 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.6284, allocations: 420.3 kB / 0.8781 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000588/0.629, allocations: 0.6519 MB / 0.8787 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.6306, allocations: 1.576 MB / 0.8802 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6306, allocations: 0 / 0.8802 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6306, allocations: 0 / 0.8802 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.6306, allocations: 0 / 0.8802 GB, free: 11.49 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002978/0.6336, allocations: 1.914 MB / 0.8821 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.6337, allocations: 8.031 kB / 0.8821 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.634, allocations: 186.6 kB / 0.8823 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.6352, allocations: 0.8712 MB / 0.8831 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6353, allocations: 87 kB / 0.8832 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6354, allocations: 71.98 kB / 0.8833 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.6367, allocations: 0.7137 MB / 0.884 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.6367, allocations: 7.984 kB / 0.884 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.6368, allocations: 24 kB / 0.884 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.6368, allocations: 20 kB / 0.884 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.6379, allocations: 0.536 MB / 0.8846 GB, free: 6.918 MB / 0.6387 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.004578/0.6425, allocations: 3.636 MB / 0.8881 GB, free: 3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.6438, allocations: 0.6157 MB / 0.8887 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.6446, allocations: 374.3 kB / 0.8891 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.6446, allocations: 12.55 kB / 0.8891 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.6453, allocations: 382.8 kB / 0.8894 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=65): time 2.414e-06/0.6454, allocations: 0 / 0.8894 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65): time 0.004821/0.6502, allocations: 1.773 MB / 0.8912 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.6503, allocations: 75.94 kB / 0.8912 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.6527, allocations: 2.251 MB / 0.8934 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.6528, allocations: 41.7 kB / 0.8935 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.6534, allocations: 0.7187 MB / 0.8942 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.6536, allocations: 209 kB / 0.8944 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.6538, allocations: 130.6 kB / 0.8945 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.654, allocations: 337.9 kB / 0.8948 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.6546, allocations: 277.8 kB / 0.8951 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.6553, allocations: 416.8 kB / 0.8955 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6565, allocations: 0.6647 MB / 0.8961 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.6566, allocations: 4 kB / 0.8962 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002283/0.6588, allocations: 1.114 MB / 0.8972 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6589, allocations: 4 kB / 0.8972 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6589, allocations: 4 kB / 0.8972 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008347/0.6597, allocations: 278.3 kB / 0.8975 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.6602, allocations: 123.8 kB / 0.8976 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.6655, allocations: 3.693 MB / 0.9012 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.6661, allocations: 95.33 kB / 0.9013 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.6662, allocations: 28 kB / 0.9014 GB, free: 5.078 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006431/0.6668, allocations: 463.8 kB / 0.9018 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.667, allocations: 162 kB / 0.902 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.6673, allocations: 183.6 kB / 0.9021 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6673, allocations: 8 kB / 0.9021 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6673, allocations: 4 kB / 0.9021 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6674, allocations: 11.92 kB / 0.9021 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.6707, allocations: 2.029 MB / 0.9041 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6707, allocations: 0 / 0.9041 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.671, allocations: 71.83 kB / 0.9042 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007355/0.6717, allocations: 275.2 kB / 0.9045 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.6718, allocations: 15.98 kB / 0.9045 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.6779, allocations: 5.247 MB / 0.9096 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.678, allocations: 0 / 0.9096 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.6807, allocations: 1.393 MB / 0.911 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.6811, allocations: 263 kB / 0.9112 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.6812, allocations: 23.98 kB / 0.9112 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.6816, allocations: 39.97 kB / 0.9113 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6818, allocations: 68.47 kB / 0.9113 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.6818, allocations: 19.98 kB / 0.9114 GB, free: 10.42 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001836/0.6836, allocations: 1.639 MB / 0.913 GB, free: 8.789 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6837, allocations: 0 / 0.913 GB, free: 8.789 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009121/0.6846, allocations: 268.1 kB / 0.9132 GB, free: 8.527 MB / 0.67 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.6863, allocations: 499.7 kB / 0.9137 GB, free: 8.223 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.6885, allocations: 0.956 MB / 0.9146 GB, free: 7.258 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6885, allocations: 0 / 0.9146 GB, free: 7.258 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.6896, allocations: 0.6676 MB / 0.9153 GB, free: 6.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6909, allocations: 279.2 kB / 0.9155 GB, free: 6.305 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.6957, allocations: 3.184 MB / 0.9187 GB, free: 3.082 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/0.6967, allocations: 1.307 MB / 0.9199 GB, free: 1.75 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.6969, allocations: 63.42 kB / 0.92 GB, free: 1.688 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.6969, allocations: 0 / 0.92 GB, free: 1.688 MB / 0.67 GB Notification: Performance of Templates: time 0.03194/0.7288, allocations: 23.65 MB / 0.9431 GB, free: 10.09 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)