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.001769/0.001769, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002127/0.002128, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 279 kB / 290.4 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003914/0.003914, allocations: 103.6 kB / 0.6059 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1724, allocations: 89.13 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4598/0.6322, allocations: 155.7 MB / 0.845 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02862/0.6609, allocations: 21.88 MB / 0.8664 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.6632, allocations: 61.12 kB / 0.8664 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.6652, allocations: 1.332 MB / 0.8677 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.6671, allocations: 0.9549 MB / 0.8687 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.6688, allocations: 0.5776 MB / 0.8692 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.6709, allocations: 1.689 MB / 0.8709 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.6724, allocations: 0.9747 MB / 0.8718 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009747/0.6734, allocations: 0.7411 MB / 0.8726 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.6745, allocations: 1.235 MB / 0.8738 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.6746, allocations: 90.66 kB / 0.8739 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.6749, allocations: 140.5 kB / 0.874 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.6753, allocations: 437 kB / 0.8744 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.6758, allocations: 0.6569 MB / 0.875 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6773, allocations: 1.574 MB / 0.8766 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6773, allocations: 2.719 kB / 0.8766 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6773, allocations: 0 / 0.8766 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6774, allocations: 0 / 0.8766 GB, free: 15.81 MB / 0.6075 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.003004/0.6804, allocations: 1.909 MB / 0.8784 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6804, allocations: 19.91 kB / 0.8785 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.6807, allocations: 194.6 kB / 0.8787 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.682, allocations: 0.8634 MB / 0.8795 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.6821, allocations: 87 kB / 0.8796 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.6822, allocations: 67.98 kB / 0.8796 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.6836, allocations: 0.7215 MB / 0.8803 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6837, allocations: 0 / 0.8803 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.6837, allocations: 28 kB / 0.8804 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6837, allocations: 20 kB / 0.8804 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.6849, allocations: 0.5437 MB / 0.8809 GB, free: 11.28 MB / 0.6075 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.004841/0.6898, allocations: 3.625 MB / 0.8845 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.6912, allocations: 0.6159 MB / 0.8851 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.692, allocations: 376.7 kB / 0.8854 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.692, allocations: 4.562 kB / 0.8854 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/0.6928, allocations: 390.8 kB / 0.8858 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/0.6928, allocations: 4 kB / 0.8858 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65): time 0.005126/0.698, allocations: 1.773 MB / 0.8875 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.698, allocations: 59.97 kB / 0.8876 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.7007, allocations: 2.262 MB / 0.8898 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.7007, allocations: 45.7 kB / 0.8898 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006579/0.7014, allocations: 0.7109 MB / 0.8905 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.7016, allocations: 220.9 kB / 0.8908 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.7018, allocations: 126.7 kB / 0.8909 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.702, allocations: 334 kB / 0.8912 GB, free: 372 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.7026, allocations: 277.8 kB / 0.8915 GB, free: 96 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.7034, allocations: 422.2 kB / 0.8919 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.7047, allocations: 0.663 MB / 0.8925 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7047, allocations: 0 / 0.8925 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002442/0.7072, allocations: 1.117 MB / 0.8936 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7072, allocations: 8 kB / 0.8936 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.7072, allocations: 4 kB / 0.8936 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008498/0.7081, allocations: 274.3 kB / 0.8939 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.7085, allocations: 123.8 kB / 0.894 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/0.7145, allocations: 3.746 MB / 0.8976 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.7151, allocations: 95.33 kB / 0.8977 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.7152, allocations: 31.98 kB / 0.8978 GB, free: 9.398 MB / 0.6231 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.0007481/0.7159, allocations: 467.8 kB / 0.8982 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.7161, allocations: 154 kB / 0.8984 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.7165, allocations: 183.7 kB / 0.8985 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7165, allocations: 15.98 kB / 0.8986 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7165, allocations: 0 / 0.8986 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.7165, allocations: 3.938 kB / 0.8986 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.7201, allocations: 2.037 MB / 0.9005 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7201, allocations: 4 kB / 0.9005 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.7204, allocations: 59.83 kB / 0.9006 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008138/0.7212, allocations: 279.4 kB / 0.9009 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.7213, allocations: 20 kB / 0.9009 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006733/0.728, allocations: 5.237 MB / 0.906 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.7281, allocations: 0 / 0.906 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.7309, allocations: 1.4 MB / 0.9074 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.7313, allocations: 263 kB / 0.9076 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.7315, allocations: 27.88 kB / 0.9077 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.7319, allocations: 47.86 kB / 0.9077 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.7321, allocations: 64.47 kB / 0.9078 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.7322, allocations: 23.98 kB / 0.9078 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002083/0.7343, allocations: 1.631 MB / 0.9094 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7343, allocations: 4 kB / 0.9094 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009928/0.7353, allocations: 279.5 kB / 0.9096 GB, free: 12.83 MB / 0.6387 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.00183/0.7371, allocations: 482.2 kB / 0.9101 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.7394, allocations: 0.9536 MB / 0.911 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7394, allocations: 0 / 0.911 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.7407, allocations: 0.683 MB / 0.9117 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.742, allocations: 282.5 kB / 0.912 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.7476, allocations: 3.549 MB / 0.9154 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.7488, allocations: 1.314 MB / 0.9167 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004163/0.7492, allocations: 126.4 kB / 0.9168 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.7494, allocations: 59.42 kB / 0.9169 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.7494, allocations: 0 / 0.9169 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of Templates: time 0.03132/0.7807, allocations: 14.69 MB / 0.9312 GB, free: 6.98 MB / 0.6544 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)