Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001569/0.001569, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5569, allocations: 140.4 MB / 0.949 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1519/0.7089, allocations: 155.6 MB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02266/0.7316, allocations: 21.97 MB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.7333, allocations: 59.69 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.7351, allocations: 1.344 MB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.7369, allocations: 0.9733 MB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.7384, allocations: 0.5632 MB / 1.125 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.7403, allocations: 1.77 MB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7415, allocations: 0.8846 MB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.7423, allocations: 0.6499 MB / 1.129 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7436, allocations: 1.179 MB / 1.13 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.7437, allocations: 55.94 kB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.744, allocations: 104 kB / 1.13 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.7444, allocations: 388.4 kB / 1.13 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004934/0.7449, allocations: 0.6206 MB / 1.131 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.746, allocations: 1.529 MB / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.746, allocations: 0 / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.91e-07/0.746, allocations: 0 / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.746, allocations: 0 / 1.132 GB, free: 5.793 MB / 0.8887 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.002628/0.7487, allocations: 1.911 MB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7487, allocations: 8.031 kB / 1.134 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.7488, allocations: 114.7 kB / 1.134 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.7491, allocations: 186.7 kB / 1.134 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.7502, allocations: 0.8669 MB / 1.135 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7503, allocations: 86.98 kB / 1.135 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.7504, allocations: 68 kB / 1.135 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.7516, allocations: 0.7215 MB / 1.136 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.7517, allocations: 3.906 kB / 1.136 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.7517, allocations: 28 kB / 1.136 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.7517, allocations: 16 kB / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.7528, allocations: 0.5437 MB / 1.137 GB, free: 1.094 MB / 0.8887 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.004083/0.7569, allocations: 3.621 MB / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.7583, allocations: 0.6093 MB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/0.759, allocations: 370.3 kB / 1.141 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.7591, allocations: 12.53 kB / 1.141 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007491/0.7598, allocations: 386.9 kB / 1.142 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 2.765e-06/0.7599, allocations: 0 / 1.142 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.004693/0.7646, allocations: 1.777 MB / 1.143 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7646, allocations: 67.91 kB / 1.143 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.7669, allocations: 2.251 MB / 1.146 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.7669, allocations: 45.7 kB / 1.146 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.7675, allocations: 0.7109 MB / 1.146 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.7677, allocations: 217 kB / 1.147 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.7679, allocations: 130.7 kB / 1.147 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.768, allocations: 341.9 kB / 1.147 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.7686, allocations: 273.8 kB / 1.147 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.7692, allocations: 428.8 kB / 1.148 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.7704, allocations: 0.6604 MB / 1.148 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.7704, allocations: 0 / 1.148 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002201/0.7726, allocations: 1.117 MB / 1.149 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7726, allocations: 8 kB / 1.149 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7726, allocations: 4 kB / 1.149 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/0.7734, allocations: 278.1 kB / 1.15 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.7739, allocations: 119.8 kB / 1.15 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/0.7787, allocations: 3.45 MB / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.7792, allocations: 91.39 kB / 1.153 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.7793, allocations: 28 kB / 1.153 GB, free: 15.52 MB / 0.92 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.0005803/0.7799, allocations: 467.7 kB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.7801, allocations: 161.9 kB / 1.154 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.7803, allocations: 191.7 kB / 1.154 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7803, allocations: 8 kB / 1.154 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7803, allocations: 0 / 1.154 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7804, allocations: 3.984 kB / 1.154 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.7835, allocations: 2.038 MB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7836, allocations: 0 / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.7838, allocations: 55.89 kB / 1.156 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007424/0.7846, allocations: 271.2 kB / 1.156 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.7847, allocations: 23.92 kB / 1.156 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/0.7899, allocations: 4.773 MB / 1.161 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7899, allocations: 4.062 kB / 1.161 GB, free: 7.195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.7924, allocations: 1.392 MB / 1.162 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.7927, allocations: 271 kB / 1.163 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.7928, allocations: 12 kB / 1.163 GB, free: 5.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.7932, allocations: 47.86 kB / 1.163 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.7934, allocations: 64.45 kB / 1.163 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.7934, allocations: 23.98 kB / 1.163 GB, free: 5.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001549/0.795, allocations: 1.635 MB / 1.164 GB, free: 3.723 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.795, allocations: 0 / 1.164 GB, free: 3.723 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008617/0.7959, allocations: 279.5 kB / 1.165 GB, free: 3.449 MB / 0.92 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.003658/0.7995, allocations: 2.336 MB / 1.167 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8012, allocations: 0.8914 MB / 1.168 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8012, allocations: 0 / 1.168 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.8023, allocations: 0.6714 MB / 1.168 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.8035, allocations: 262.7 kB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.8198, allocations: 12.42 MB / 1.181 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.8207, allocations: 1.318 MB / 1.182 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004212/0.8211, allocations: 118.4 kB / 1.182 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005658/0.8217, allocations: 0.5383 MB / 1.183 GB, free: 352 kB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.8217, allocations: 0 / 1.183 GB, free: 352 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.8637, allocations: 27.65 MB / 1.21 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.8639, allocations: 289.9 kB / 1.21 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.216, allocations: 0 / 1.21 GB, free: 4.664 MB / 0.9669 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)