Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 148 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.001331/0.001331, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.95 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1526/0.4283, allocations: 158.3 MB / 1.207 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.4526, allocations: 22.24 MB / 1.229 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.4545, allocations: 71.62 kB / 1.229 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.4567, allocations: 1.975 MB / 1.231 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.4585, allocations: 1.324 MB / 1.233 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.46, allocations: 0.6909 MB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.4618, allocations: 1.946 MB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.463, allocations: 1.148 MB / 1.236 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009328/0.4639, allocations: 0.8918 MB / 1.237 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.4652, allocations: 1.451 MB / 1.238 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4654, allocations: 108 kB / 1.239 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.4657, allocations: 152 kB / 1.239 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.4661, allocations: 0.5156 MB / 1.239 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.4667, allocations: 0.8185 MB / 1.24 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4682, allocations: 1.934 MB / 1.242 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4682, allocations: 0 / 1.242 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4682, allocations: 3.938 kB / 1.242 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.4683, allocations: 0 / 1.242 GB, free: 5.922 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002999/0.4713, allocations: 2.385 MB / 1.244 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4713, allocations: 12.62 kB / 1.244 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.4715, allocations: 127 kB / 1.244 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.4718, allocations: 241.9 kB / 1.245 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.473, allocations: 1.046 MB / 1.246 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.4731, allocations: 103.7 kB / 1.246 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4732, allocations: 83.91 kB / 1.246 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4746, allocations: 0.8612 MB / 1.247 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4746, allocations: 8 kB / 1.247 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.4747, allocations: 32 kB / 1.247 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4747, allocations: 16 kB / 1.247 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4759, allocations: 0.6518 MB / 1.247 GB, free: 196 kB / 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.5098/0.9857, allocations: 4.183 MB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.9871, allocations: 0.7077 MB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/0.9878, allocations: 410.3 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.9879, allocations: 14.98 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006666/0.9886, allocations: 434.2 kB / 1.253 GB, free: 194 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/0.9886, allocations: 0 / 1.253 GB, free: 194 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.005514/0.9941, allocations: 2.107 MB / 1.255 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.9942, allocations: 91.39 kB / 1.255 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.9972, allocations: 3.205 MB / 1.258 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.264e-05/0.9973, allocations: 46.86 kB / 1.258 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.9979, allocations: 0.959 MB / 1.259 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.9981, allocations: 261 kB / 1.259 GB, free: 193 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.9983, allocations: 147.8 kB / 1.26 GB, free: 193 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.9984, allocations: 340.4 kB / 1.26 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.999, allocations: 314.2 kB / 1.26 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.9998, allocations: 464.6 kB / 1.261 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.001, allocations: 0.7364 MB / 1.261 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.001, allocations: 2.656 kB / 1.261 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002305/1.003, allocations: 1.234 MB / 1.263 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/1.003, allocations: 7.234 kB / 1.263 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.003, allocations: 4.062 kB / 1.263 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009806/1.004, allocations: 327.1 kB / 1.263 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/1.005, allocations: 126.7 kB / 1.263 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/1.01, allocations: 4.072 MB / 1.267 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/1.011, allocations: 105.9 kB / 1.267 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/1.011, allocations: 34.42 kB / 1.267 GB, free: 190.4 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: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0009338/1.012, allocations: 0.5891 MB / 1.268 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/1.013, allocations: 210.8 kB / 1.268 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/1.013, allocations: 251.8 kB / 1.268 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.013, allocations: 9.438 kB / 1.268 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.013, allocations: 1.062 kB / 1.268 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.013, allocations: 4.953 kB / 1.268 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/1.018, allocations: 2.403 MB / 1.271 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.018, allocations: 3.938 kB / 1.271 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/1.019, allocations: 67.81 kB / 1.271 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.02, allocations: 344.8 kB / 1.271 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.02, allocations: 19.17 kB / 1.271 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/1.027, allocations: 5.558 MB / 1.276 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.027, allocations: 1.422 kB / 1.276 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/1.03, allocations: 1.572 MB / 1.278 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/1.03, allocations: 317.8 kB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.031, allocations: 20.31 kB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/1.031, allocations: 49.17 kB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/1.032, allocations: 99.55 kB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/1.032, allocations: 25.64 kB / 1.278 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003899/1.036, allocations: 2.338 MB / 1.281 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.036, allocations: 0 / 1.281 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00132/1.037, allocations: 323.1 kB / 1.281 GB, free: 183 MB / 0.9981 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004079/1.041, allocations: 2.519 MB / 1.283 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002478/1.044, allocations: 1.089 MB / 1.285 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.044, allocations: 0 / 1.285 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.045, allocations: 0.774 MB / 1.285 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.047, allocations: 298 kB / 1.286 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.071, allocations: 15.73 MB / 1.301 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.072, allocations: 1.524 MB / 1.302 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005166/1.072, allocations: 131 kB / 1.303 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.073, allocations: 0.7726 MB / 1.303 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.073, allocations: 0 / 1.303 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05683/1.13, allocations: 35.33 MB / 1.338 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.48, allocations: 20.7 kB / 1.338 GB, free: 132.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-07 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)