Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001293/0.001293, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 63.39 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1596/0.4455, allocations: 154.5 MB / 1.203 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4686, allocations: 21.6 MB / 1.224 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.4701, allocations: 43.75 kB / 1.224 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.4717, allocations: 1.138 MB / 1.225 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4731, allocations: 0.8098 MB / 1.226 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4741, allocations: 386 kB / 1.226 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.4755, allocations: 1.352 MB / 1.228 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008192/0.4763, allocations: 0.6123 MB / 1.228 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.477, allocations: 0.4944 MB / 1.229 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4781, allocations: 0.9098 MB / 1.23 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4782, allocations: 40 kB / 1.23 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.4785, allocations: 75.98 kB / 1.23 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.4788, allocations: 308.7 kB / 1.23 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.4792, allocations: 456.8 kB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.4802, allocations: 1.148 MB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4802, allocations: 0 / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4803, allocations: 0 / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.4803, allocations: 0 / 1.232 GB, free: 15.68 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.002349/0.4826, allocations: 1.486 MB / 1.233 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4827, allocations: 15.97 kB / 1.233 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.4828, allocations: 82.7 kB / 1.233 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.483, allocations: 131.3 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.4838, allocations: 0.6703 MB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.484, allocations: 66.69 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.484, allocations: 52 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009565/0.485, allocations: 0.5184 MB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.485, allocations: 0 / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.4851, allocations: 16 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4851, allocations: 12 kB / 1.235 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.4859, allocations: 423.7 kB / 1.235 GB, free: 12.09 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.003381/0.4893, allocations: 2.72 MB / 1.238 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.4903, allocations: 451.5 kB / 1.238 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.4909, allocations: 301.3 kB / 1.238 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.491, allocations: 12.62 kB / 1.238 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/0.4915, allocations: 287.4 kB / 1.239 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.4915, allocations: 0 / 1.239 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002569/0.4941, allocations: 1.14 MB / 1.24 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4942, allocations: 59.41 kB / 1.24 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.496, allocations: 1.772 MB / 1.242 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.496, allocations: 37.7 kB / 1.242 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.4964, allocations: 0.5211 MB / 1.242 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.4965, allocations: 149.9 kB / 1.242 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.4967, allocations: 98.19 kB / 1.242 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4968, allocations: 330 kB / 1.243 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.4973, allocations: 213 kB / 1.243 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.4978, allocations: 339.2 kB / 1.243 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008919/0.4987, allocations: 0.5146 MB / 1.244 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4987, allocations: 0 / 1.244 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001502/0.5002, allocations: 0.8104 MB / 1.245 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5003, allocations: 4 kB / 1.245 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5003, allocations: 4 kB / 1.245 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003938/0.5007, allocations: 135 kB / 1.245 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.5011, allocations: 103.8 kB / 1.245 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4614/0.9625, allocations: 2.374 MB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.9631, allocations: 81.77 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.9632, allocations: 25.17 kB / 1.247 GB, free: 194.3 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.000492/0.9637, allocations: 386.6 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.9638, allocations: 116.5 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.964, allocations: 139.4 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.964, allocations: 4.625 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.964, allocations: 3.094 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.964, allocations: 3.531 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.9662, allocations: 1.494 MB / 1.249 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9662, allocations: 1.219 kB / 1.249 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.9664, allocations: 54.33 kB / 1.249 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/0.9668, allocations: 159.4 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.9668, allocations: 13.23 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.9694, allocations: 3.696 MB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9695, allocations: 3.188 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.9708, allocations: 0.9866 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.971, allocations: 217.7 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.9711, allocations: 7.312 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.9715, allocations: 38.89 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.9716, allocations: 52.56 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.9716, allocations: 15.98 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001001/0.9726, allocations: 1.285 MB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9726, allocations: 0 / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006405/0.9733, allocations: 206.9 kB / 1.256 GB, free: 190.7 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.00255/0.9758, allocations: 1.912 MB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.977, allocations: 0.6679 MB / 1.258 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.977, allocations: 0 / 1.258 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.9777, allocations: 0.5293 MB / 1.259 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.9787, allocations: 186.2 kB / 1.259 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.9906, allocations: 9.331 MB / 1.268 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.9916, allocations: 1.152 MB / 1.269 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.992, allocations: 96.48 kB / 1.269 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.9924, allocations: 404.1 kB / 1.27 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.9924, allocations: 0 / 1.27 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04259/1.035, allocations: 19.75 MB / 1.289 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.035, allocations: 283.7 kB / 1.289 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/3.231, allocations: 0 / 1.289 GB, free: 178.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)