Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001325/0.001325, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 66.5 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2887, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1626/0.4513, allocations: 156.8 MB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02519/0.4766, allocations: 21.75 MB / 1.227 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.4784, allocations: 59.62 kB / 1.227 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4799, allocations: 1.161 MB / 1.228 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.4813, allocations: 0.8601 MB / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4824, allocations: 438.4 kB / 1.23 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.4837, allocations: 1.247 MB / 1.231 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009657/0.4847, allocations: 0.6911 MB / 1.232 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.4854, allocations: 0.5491 MB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009576/0.4863, allocations: 0.9101 MB / 1.233 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.4865, allocations: 68 kB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.4867, allocations: 119.8 kB / 1.233 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.487, allocations: 312.7 kB / 1.233 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.4874, allocations: 492.8 kB / 1.234 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4884, allocations: 1.183 MB / 1.235 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4885, allocations: 4 kB / 1.235 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4885, allocations: 0 / 1.235 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.4885, allocations: 4 kB / 1.235 GB, free: 13.04 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.00212/0.4906, allocations: 1.471 MB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4907, allocations: 12.56 kB / 1.237 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.477e-05/0.4908, allocations: 86.7 kB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.4909, allocations: 131.3 kB / 1.237 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.4917, allocations: 0.6586 MB / 1.237 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.4919, allocations: 74.69 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.4919, allocations: 51.94 kB / 1.238 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.4928, allocations: 0.5184 MB / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4929, allocations: 0 / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4929, allocations: 16 kB / 1.238 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4929, allocations: 12 kB / 1.238 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.4937, allocations: 423.7 kB / 1.238 GB, free: 9.473 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.003351/0.4971, allocations: 2.803 MB / 1.241 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.4981, allocations: 457.9 kB / 1.242 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.4986, allocations: 285.3 kB / 1.242 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.4987, allocations: 4.656 kB / 1.242 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000535/0.4992, allocations: 298 kB / 1.242 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.4992, allocations: 0 / 1.242 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002814/0.5021, allocations: 1.241 MB / 1.243 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.5021, allocations: 55.41 kB / 1.243 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5038, allocations: 1.752 MB / 1.245 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.5039, allocations: 41.69 kB / 1.245 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.5043, allocations: 0.5179 MB / 1.246 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5044, allocations: 150 kB / 1.246 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5046, allocations: 94.25 kB / 1.246 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5047, allocations: 326 kB / 1.246 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.5052, allocations: 221 kB / 1.246 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.5057, allocations: 324.8 kB / 1.247 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4521/0.9578, allocations: 0.5155 MB / 1.247 GB, free: 0 / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/0.9579, allocations: 3.859 kB / 1.247 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001916/0.9598, allocations: 0.8355 MB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9599, allocations: 8.203 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9599, allocations: 2.938 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.9604, allocations: 197.9 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.9608, allocations: 91.38 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.9638, allocations: 2.998 MB / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.9643, allocations: 73.05 kB / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.9644, allocations: 18.84 kB / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.9648, allocations: 389.7 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.9649, allocations: 117.2 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.9651, allocations: 142.7 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.9651, allocations: 6.531 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.9652, allocations: 4.453 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9652, allocations: 2.531 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.9671, allocations: 1.562 MB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.9671, allocations: 0 / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.9673, allocations: 45.77 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.9678, allocations: 199.1 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.9678, allocations: 11.44 kB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.9709, allocations: 4.546 MB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9709, allocations: 4.375 kB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.9725, allocations: 1.072 MB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.9727, allocations: 220.4 kB / 1.259 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.9728, allocations: 12.84 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.9731, allocations: 26.8 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.9732, allocations: 58.66 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.9732, allocations: 13.88 kB / 1.26 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001073/0.9743, allocations: 1.283 MB / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9743, allocations: 0 / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006856/0.975, allocations: 208.5 kB / 1.261 GB, free: 190.6 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,13,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.002742/0.9778, allocations: 1.973 MB / 1.263 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.9794, allocations: 0.7525 MB / 1.264 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9794, allocations: 3.938 kB / 1.264 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.9803, allocations: 0.5468 MB / 1.264 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.9812, allocations: 203.1 kB / 1.264 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.9956, allocations: 9.144 MB / 1.273 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.9965, allocations: 1.151 MB / 1.274 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.9969, allocations: 86.11 kB / 1.275 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.9973, allocations: 407.8 kB / 1.275 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.9973, allocations: 0 / 1.275 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/1.045, allocations: 20.88 MB / 1.295 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.015/10.06, allocations: 3.938 kB / 1.295 GB, free: 176.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)