Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.00222/0.00222, 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.002998/0.002998, allocations: 192.7 kB / 16.25 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 2.626/2.626, 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 11.0.1-master/package.mo): time 4.95/4.95, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.11 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4686, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.266/0.7346, allocations: 154.6 MB / 1.203 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04109/0.7758, allocations: 21.49 MB / 1.224 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.7794, allocations: 59.56 kB / 1.224 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.7822, allocations: 1.13 MB / 1.226 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.7852, allocations: 0.8177 MB / 1.226 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.7873, allocations: 382.1 kB / 1.227 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.7898, allocations: 1.251 MB / 1.228 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.7911, allocations: 0.6949 MB / 1.229 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.7924, allocations: 0.5529 MB / 1.229 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.794, allocations: 0.9489 MB / 1.23 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.7942, allocations: 68 kB / 1.23 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.7946, allocations: 115.9 kB / 1.23 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.795, allocations: 328.8 kB / 1.231 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.7956, allocations: 492.8 kB / 1.231 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.7973, allocations: 1.183 MB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7973, allocations: 4 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7973, allocations: 0 / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.7973, allocations: 0 / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003351/0.8007, allocations: 1.482 MB / 1.234 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.624e-05/0.8008, allocations: 8.625 kB / 1.234 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.8009, allocations: 86.7 kB / 1.234 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.8012, allocations: 131.3 kB / 1.234 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.8026, allocations: 0.6586 MB / 1.234 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.8027, allocations: 74.67 kB / 1.235 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.8029, allocations: 52 kB / 1.235 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.8043, allocations: 0.5106 MB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.8043, allocations: 4 kB / 1.235 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.8044, allocations: 27.94 kB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.8045, allocations: 8 kB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.8057, allocations: 407.7 kB / 1.236 GB, free: 12.4 MB / 0.9981 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.00547/0.8112, allocations: 2.739 MB / 1.238 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.8126, allocations: 439.8 kB / 1.239 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.8137, allocations: 305.3 kB / 1.239 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.8138, allocations: 8.656 kB / 1.239 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.8146, allocations: 287.1 kB / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 6.422e-06/0.8146, allocations: 0 / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.004033/0.8187, allocations: 1.155 MB / 1.24 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.8187, allocations: 63.41 kB / 1.24 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.8218, allocations: 1.764 MB / 1.242 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/0.8219, allocations: 37.7 kB / 1.242 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.8225, allocations: 0.5172 MB / 1.243 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.8227, allocations: 145.9 kB / 1.243 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.823, allocations: 102.2 kB / 1.243 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8231, allocations: 333.9 kB / 1.243 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.8238, allocations: 209 kB / 1.243 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.8246, allocations: 335.1 kB / 1.244 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.826, allocations: 0.5197 MB / 1.244 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.826, allocations: 0 / 1.244 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002334/0.8284, allocations: 0.8095 MB / 1.245 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.8284, allocations: 9.562 kB / 1.245 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.8285, allocations: 4 kB / 1.245 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.8291, allocations: 136.8 kB / 1.245 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.8297, allocations: 95.88 kB / 1.245 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8483/1.678, allocations: 2.597 MB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.679, allocations: 85.55 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/1.679, allocations: 21.53 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001095/1.681, allocations: 389.6 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.681, allocations: 120 kB / 1.248 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/1.681, allocations: 142.5 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.681, allocations: 5.484 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/1.681, allocations: 3.188 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.681, allocations: 2.688 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/1.686, allocations: 1.486 MB / 1.25 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.686, allocations: 5.141 kB / 1.25 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/1.686, allocations: 45.89 kB / 1.25 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006911/1.687, allocations: 165.3 kB / 1.25 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/1.687, allocations: 14.69 kB / 1.25 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/1.692, allocations: 4.038 MB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.692, allocations: 0 / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/1.695, allocations: 0.9836 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/1.696, allocations: 209.9 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.696, allocations: 20.52 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/1.696, allocations: 29.42 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.697, allocations: 52.59 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/1.697, allocations: 17.25 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002442/1.699, allocations: 1.29 MB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.699, allocations: 0 / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001428/1.701, allocations: 202.4 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005029/1.706, allocations: 1.917 MB / 1.259 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002721/1.708, allocations: 0.6976 MB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.709, allocations: 2.812 kB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.71, allocations: 0.5195 MB / 1.26 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/1.712, allocations: 196.7 kB / 1.26 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.741, allocations: 9.34 MB / 1.269 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/1.743, allocations: 1.152 MB / 1.27 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008771/1.744, allocations: 99.81 kB / 1.27 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.744, allocations: 404.3 kB / 1.271 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.623e-06/1.744, allocations: 0 / 1.271 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/1.941, allocations: 20.17 MB / 1.291 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/1.941, allocations: 281.7 kB / 1.291 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.501/6.442, allocations: 7.938 kB / 1.291 GB, free: 178.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)