Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001157/0.001157, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 62.83 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1599/0.4621, allocations: 154.8 MB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.487, allocations: 21.73 MB / 1.225 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.489, allocations: 47.69 kB / 1.225 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.491, allocations: 1.31 MB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.4928, allocations: 0.9228 MB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.4942, allocations: 456.3 kB / 1.227 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.496, allocations: 1.52 MB / 1.229 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.4972, allocations: 0.706 MB / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.4981, allocations: 0.5761 MB / 1.23 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.4994, allocations: 1.098 MB / 1.231 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.4995, allocations: 40 kB / 1.231 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.4997, allocations: 87.98 kB / 1.231 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.5, allocations: 364.6 kB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.5005, allocations: 0.5313 MB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.5015, allocations: 1.304 MB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5015, allocations: 4 kB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5015, allocations: 0 / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5015, allocations: 0 / 1.233 GB, free: 14.09 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002305/0.5038, allocations: 1.683 MB / 1.235 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.5039, allocations: 19.97 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.504, allocations: 86.7 kB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.5043, allocations: 155.1 kB / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.5052, allocations: 0.7436 MB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.5054, allocations: 74.69 kB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.5055, allocations: 59.89 kB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.5065, allocations: 0.573 MB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5065, allocations: 3.984 kB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.5065, allocations: 20 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.5066, allocations: 12 kB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.5074, allocations: 443.7 kB / 1.237 GB, free: 10.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.003383/0.5108, allocations: 3.021 MB / 1.24 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.5119, allocations: 500 kB / 1.24 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.5125, allocations: 317.5 kB / 1.241 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.5125, allocations: 12.36 kB / 1.241 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.5131, allocations: 329 kB / 1.241 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.5131, allocations: 0 / 1.241 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.002972/0.5161, allocations: 1.348 MB / 1.242 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.5161, allocations: 63.78 kB / 1.243 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5181, allocations: 2.116 MB / 1.245 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.5181, allocations: 37.7 kB / 1.245 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5186, allocations: 0.6284 MB / 1.245 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5187, allocations: 161.8 kB / 1.245 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.5188, allocations: 110.3 kB / 1.245 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.519, allocations: 330 kB / 1.246 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.5195, allocations: 229.2 kB / 1.246 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.52, allocations: 349.9 kB / 1.246 GB, free: 160 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5164/1.036, allocations: 0.5398 MB / 1.247 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.036, allocations: 1.344 kB / 1.247 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001881/1.038, allocations: 0.9149 MB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.038, allocations: 8.328 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.038, allocations: 5.203 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/1.039, allocations: 193.1 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/1.039, allocations: 109.8 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/1.043, allocations: 2.799 MB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/1.043, allocations: 88.38 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/1.043, allocations: 20.62 kB / 1.251 GB, free: 193.3 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000575/1.044, allocations: 435.5 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.044, allocations: 142.8 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/1.044, allocations: 168.2 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.044, allocations: 10.44 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.044, allocations: 3.125 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.044, allocations: 0 / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/1.047, allocations: 1.737 MB / 1.253 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.047, allocations: 0 / 1.253 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/1.047, allocations: 52.3 kB / 1.253 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/1.047, allocations: 197.4 kB / 1.254 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/1.047, allocations: 20.77 kB / 1.254 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/1.051, allocations: 4.179 MB / 1.258 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.051, allocations: 5.125 kB / 1.258 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.053, allocations: 1.156 MB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.053, allocations: 241.1 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.053, allocations: 16.81 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/1.053, allocations: 39.66 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.054, allocations: 61.52 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.054, allocations: 21.58 kB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001469/1.055, allocations: 1.547 MB / 1.261 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.055, allocations: 0 / 1.261 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008338/1.056, allocations: 230.2 kB / 1.261 GB, free: 189.5 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003024/1.059, allocations: 2.082 MB / 1.263 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001739/1.061, allocations: 0.7572 MB / 1.264 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.061, allocations: 0 / 1.264 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/1.062, allocations: 0.5819 MB / 1.264 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.063, allocations: 218.7 kB / 1.264 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.079, allocations: 10.89 MB / 1.275 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/1.08, allocations: 1.242 MB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004174/1.08, allocations: 106.6 kB / 1.276 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/1.081, allocations: 474.5 kB / 1.277 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.081, allocations: 0 / 1.277 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/1.119, allocations: 22.92 MB / 1.299 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.12, allocations: 293.5 kB / 1.3 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/3.331, allocations: 0 / 1.3 GB, free: 171.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)