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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001381/0.001381, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001047/0.001047, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5376, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1495/0.6872, allocations: 155.7 MB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02251/0.7097, allocations: 21.86 MB / 1.123 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.7115, allocations: 63.62 kB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.7134, allocations: 1.34 MB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.7152, allocations: 0.9616 MB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.7167, allocations: 0.5703 MB / 1.126 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.7187, allocations: 1.688 MB / 1.127 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.7202, allocations: 0.9784 MB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.7214, allocations: 0.7397 MB / 1.129 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.7228, allocations: 1.242 MB / 1.13 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.723, allocations: 88 kB / 1.13 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.7234, allocations: 140 kB / 1.13 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.7238, allocations: 440.3 kB / 1.131 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.7245, allocations: 0.6558 MB / 1.131 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.7261, allocations: 1.569 MB / 1.133 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.7261, allocations: 7.984 kB / 1.133 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7261, allocations: 0 / 1.133 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.365e-05/0.7262, allocations: 0 / 1.133 GB, free: 5.34 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.003143/0.7293, allocations: 1.915 MB / 1.135 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7294, allocations: 8.031 kB / 1.135 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.7295, allocations: 106.7 kB / 1.135 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.7298, allocations: 186.6 kB / 1.135 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.7311, allocations: 0.8747 MB / 1.136 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.7312, allocations: 87 kB / 1.136 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7313, allocations: 68 kB / 1.136 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.7326, allocations: 0.7176 MB / 1.137 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.7326, allocations: 7.906 kB / 1.137 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.7327, allocations: 27.98 kB / 1.137 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7327, allocations: 19.98 kB / 1.137 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.7338, allocations: 0.5399 MB / 1.137 GB, free: 0.6367 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.004375/0.7382, allocations: 3.621 MB / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.7395, allocations: 0.612 MB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.7401, allocations: 374.3 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.7402, allocations: 8.562 kB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006846/0.7409, allocations: 375 kB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/0.7409, allocations: 0 / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.004494/0.7454, allocations: 1.792 MB / 1.144 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.7454, allocations: 67.91 kB / 1.144 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.7476, allocations: 2.251 MB / 1.146 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.7477, allocations: 41.7 kB / 1.146 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.7482, allocations: 0.7187 MB / 1.147 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.7483, allocations: 209 kB / 1.147 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.7485, allocations: 126.7 kB / 1.147 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7486, allocations: 338 kB / 1.148 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.7492, allocations: 273.8 kB / 1.148 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.7499, allocations: 420.7 kB / 1.148 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.751, allocations: 0.6681 MB / 1.149 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.751, allocations: 7.938 kB / 1.149 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002086/0.7531, allocations: 1.11 MB / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.7531, allocations: 4 kB / 1.15 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7531, allocations: 8.219 kB / 1.15 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.754, allocations: 278 kB / 1.15 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.7544, allocations: 119.8 kB / 1.15 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.7599, allocations: 3.758 MB / 1.154 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.7606, allocations: 91.33 kB / 1.154 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.7607, allocations: 28 kB / 1.154 GB, free: 14.75 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.0006365/0.7614, allocations: 463.8 kB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.7616, allocations: 161.9 kB / 1.155 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.7619, allocations: 183.7 kB / 1.155 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.7619, allocations: 8 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7619, allocations: 3.938 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7619, allocations: 3.984 kB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.7654, allocations: 2.037 MB / 1.157 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7654, allocations: 0 / 1.157 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.7657, allocations: 63.89 kB / 1.157 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/0.7664, allocations: 280.8 kB / 1.157 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.7665, allocations: 15.98 kB / 1.157 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/0.7722, allocations: 5.245 MB / 1.162 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7722, allocations: 0 / 1.162 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.7747, allocations: 1.393 MB / 1.164 GB, free: 4.535 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.7751, allocations: 267 kB / 1.164 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.7752, allocations: 19.98 kB / 1.164 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.7757, allocations: 35.97 kB / 1.164 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.7758, allocations: 76.39 kB / 1.164 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.7759, allocations: 19.98 kB / 1.164 GB, free: 4.105 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001693/0.7776, allocations: 1.635 MB / 1.166 GB, free: 2.477 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7776, allocations: 0 / 1.166 GB, free: 2.477 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00092/0.7785, allocations: 280.1 kB / 1.166 GB, free: 2.203 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.003626/0.7822, allocations: 2.33 MB / 1.168 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.7842, allocations: 0.9599 MB / 1.169 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7842, allocations: 0 / 1.169 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.7853, allocations: 0.6749 MB / 1.17 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.7866, allocations: 282.2 kB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.8038, allocations: 12.41 MB / 1.182 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.8049, allocations: 1.314 MB / 1.184 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.8053, allocations: 126.4 kB / 1.184 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/0.8059, allocations: 0.5422 MB / 1.184 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.8059, allocations: 0 / 1.184 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.8582, allocations: 28.33 MB / 1.212 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/0.8585, allocations: 290 kB / 1.212 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.072, allocations: 0 / 1.212 GB, free: 2.68 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)