Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.001973/0.001973, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002106/0.002106, allocations: 197.3 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.381/2.381, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.14/5.14, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 65.22 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4562, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2907/0.747, allocations: 155.4 MB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04405/0.7911, allocations: 21.82 MB / 1.225 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.7942, allocations: 55.62 kB / 1.226 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.7987, allocations: 2.128 MB / 1.228 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.803, allocations: 1.398 MB / 1.229 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.806, allocations: 0.5557 MB / 1.23 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.8099, allocations: 1.949 MB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.8125, allocations: 1.131 MB / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.8149, allocations: 0.9307 MB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.8181, allocations: 1.659 MB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.8185, allocations: 96 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000648/0.8192, allocations: 143.9 kB / 1.235 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008875/0.8201, allocations: 0.5938 MB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.8216, allocations: 0.8029 MB / 1.237 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.8248, allocations: 1.907 MB / 1.239 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.8248, allocations: 0 / 1.239 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8248, allocations: 0 / 1.239 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.136e-05/0.8249, allocations: 0 / 1.239 GB, free: 9.332 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006618/0.8316, allocations: 2.377 MB / 1.241 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.8316, allocations: 8.625 kB / 1.241 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/0.8319, allocations: 114.4 kB / 1.241 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.8325, allocations: 237 kB / 1.241 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.835, allocations: 1.028 MB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.8352, allocations: 99.67 kB / 1.242 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.8355, allocations: 68 kB / 1.242 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.8381, allocations: 0.7932 MB / 1.243 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.8382, allocations: 11.86 kB / 1.243 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.8384, allocations: 32 kB / 1.243 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.8384, allocations: 16 kB / 1.243 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.841, allocations: 0.6375 MB / 1.244 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7495/1.591, allocations: 3.746 MB / 1.247 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/1.594, allocations: 0.7325 MB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.596, allocations: 427.8 kB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.949e-05/1.596, allocations: 10.05 kB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/1.598, allocations: 452.6 kB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=73): time 6.262e-06/1.598, allocations: 1.625 kB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73): time 0.008277/1.606, allocations: 1.831 MB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/1.606, allocations: 63.31 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/1.613, allocations: 3.374 MB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.614, allocations: 46.34 kB / 1.254 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.615, allocations: 0.9236 MB / 1.255 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/1.615, allocations: 251.5 kB / 1.255 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/1.616, allocations: 133.5 kB / 1.255 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.616, allocations: 339.5 kB / 1.256 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.618, allocations: 317.5 kB / 1.256 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.619, allocations: 476.5 kB / 1.257 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/1.622, allocations: 0.7504 MB / 1.257 GB, free: 194 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.622, allocations: 1.688 kB / 1.257 GB, free: 194 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004768/1.626, allocations: 1.247 MB / 1.259 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.626, allocations: 5.781 kB / 1.259 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.626, allocations: 4.203 kB / 1.259 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/1.628, allocations: 267.9 kB / 1.259 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.629, allocations: 142.2 kB / 1.259 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/1.638, allocations: 4.751 MB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.64, allocations: 111.2 kB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.64, allocations: 29.84 kB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002182/1.643, allocations: 0.6129 MB / 1.264 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/1.643, allocations: 210.4 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/1.644, allocations: 265.5 kB / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.644, allocations: 7.781 kB / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/1.644, allocations: 6.625 kB / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.644, allocations: 3.375 kB / 1.265 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/1.653, allocations: 2.414 MB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.653, allocations: 0.875 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/1.654, allocations: 72.7 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/1.655, allocations: 254.8 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.655, allocations: 21.06 kB / 1.267 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/1.665, allocations: 4.744 MB / 1.272 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.665, allocations: 1.188 kB / 1.272 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006001/1.671, allocations: 1.637 MB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.672, allocations: 327 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/1.672, allocations: 20.05 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.673, allocations: 47.75 kB / 1.274 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/1.674, allocations: 76.25 kB / 1.274 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.674, allocations: 28.41 kB / 1.274 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006452/1.68, allocations: 2.469 MB / 1.277 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.042e-06/1.68, allocations: 0 / 1.277 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002459/1.683, allocations: 305.9 kB / 1.277 GB, free: 184.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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.008511/1.691, allocations: 2.581 MB / 1.279 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004934/1.696, allocations: 1.19 MB / 1.281 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.696, allocations: 0 / 1.281 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.699, allocations: 0.7041 MB / 1.281 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.702, allocations: 295.4 kB / 1.282 GB, free: 182.5 MB / 0.9981 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04587/1.748, allocations: 16.55 MB / 1.298 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/1.75, allocations: 1.556 MB / 1.299 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001127/1.751, allocations: 173.2 kB / 1.299 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.753, allocations: 0.7512 MB / 1.3 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.333e-06/1.753, allocations: 0 / 1.3 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.353/3.106, allocations: 33.32 MB / 1.333 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003504/3.106, allocations: 290.7 kB / 1.333 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.768/8.874, allocations: 0.75 kB / 1.333 GB, free: 136.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)