Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.001971/0.001971, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002648/0.002648, allocations: 191 kB / 16.25 MB, free: 6.637 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.63/2.63, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.083/5.083, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 65.97 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5948, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.3163/0.9112, allocations: 155.7 MB / 1.204 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05179/0.9631, allocations: 21.87 MB / 1.226 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.9675, allocations: 59.62 kB / 1.226 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.9713, allocations: 1.333 MB / 1.227 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.9755, allocations: 0.9616 MB / 1.228 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.979, allocations: 0.579 MB / 1.229 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.9835, allocations: 1.692 MB / 1.23 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003531/0.9871, allocations: 0.9705 MB / 1.231 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.9903, allocations: 0.7436 MB / 1.232 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.9936, allocations: 1.234 MB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.9944, allocations: 92 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.9956, allocations: 147.9 kB / 1.233 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.9968, allocations: 436.4 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/0.999, allocations: 0.6519 MB / 1.235 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/1.004, allocations: 1.58 MB / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/1.004, allocations: 0 / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.378e-06/1.004, allocations: 0 / 1.236 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001364/1.004, allocations: 0 / 1.236 GB, free: 11.89 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.009106/1.013, allocations: 1.915 MB / 1.238 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.000109/1.013, allocations: 8.625 kB / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004613/1.014, allocations: 114.6 kB / 1.238 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/1.015, allocations: 182.7 kB / 1.238 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/1.018, allocations: 0.8708 MB / 1.239 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/1.018, allocations: 87 kB / 1.239 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.018, allocations: 68 kB / 1.239 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/1.021, allocations: 0.7176 MB / 1.24 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/1.021, allocations: 3.938 kB / 1.24 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.021, allocations: 32 kB / 1.24 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.021, allocations: 12 kB / 1.24 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/1.024, allocations: 0.5399 MB / 1.24 GB, free: 7.203 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.009876/1.034, allocations: 3.632 MB / 1.244 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/1.036, allocations: 0.6088 MB / 1.245 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/1.037, allocations: 370.3 kB / 1.245 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.038, allocations: 12.56 kB / 1.245 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/1.039, allocations: 382.8 kB / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 1.063e-05/1.039, allocations: 0 / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.009167/1.048, allocations: 1.781 MB / 1.247 GB, free: 80 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.049, allocations: 67.89 kB / 1.247 GB, free: 0 / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008113/2.243, allocations: 2.244 MB / 1.249 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/2.243, allocations: 44.7 kB / 1.249 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/2.244, allocations: 0.7207 MB / 1.25 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/2.245, allocations: 212.8 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006614/2.246, allocations: 128.8 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/2.246, allocations: 333.3 kB / 1.251 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/2.247, allocations: 274.8 kB / 1.251 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/2.248, allocations: 422.4 kB / 1.251 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/2.25, allocations: 0.6678 MB / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/2.25, allocations: 0 / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004323/2.255, allocations: 1.11 MB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/2.255, allocations: 14.12 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/2.255, allocations: 2.75 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/2.256, allocations: 276.6 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/2.257, allocations: 115.9 kB / 1.254 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008608/2.266, allocations: 3.741 MB / 1.257 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/2.267, allocations: 107.5 kB / 1.257 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/2.267, allocations: 24.73 kB / 1.257 GB, free: 193.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001479/2.269, allocations: 456.3 kB / 1.258 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/2.269, allocations: 154.2 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/2.27, allocations: 192.3 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/2.27, allocations: 7.969 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/2.27, allocations: 3.312 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/2.27, allocations: 7 kB / 1.258 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/2.277, allocations: 2.043 MB / 1.26 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/2.278, allocations: 0 / 1.26 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/2.278, allocations: 64.38 kB / 1.26 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/2.279, allocations: 278.6 kB / 1.26 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.892e-05/2.28, allocations: 18.72 kB / 1.26 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/2.291, allocations: 5.227 MB / 1.266 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/2.291, allocations: 3.938 kB / 1.266 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/2.298, allocations: 1.407 MB / 1.267 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/2.299, allocations: 264.8 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/2.299, allocations: 18.73 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/2.3, allocations: 41.53 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/2.301, allocations: 69.97 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/2.301, allocations: 24.08 kB / 1.267 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005558/2.307, allocations: 1.632 MB / 1.269 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.238e-06/2.307, allocations: 0 / 1.269 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003108/2.31, allocations: 282.2 kB / 1.269 GB, free: 189.4 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: 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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008979/2.319, allocations: 2.332 MB / 1.271 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004143/2.323, allocations: 0.964 MB / 1.272 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/2.323, allocations: 1.5 kB / 1.272 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/2.325, allocations: 0.6734 MB / 1.273 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/2.329, allocations: 278.4 kB / 1.273 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04195/2.37, allocations: 12.41 MB / 1.285 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/2.373, allocations: 1.316 MB / 1.287 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001244/2.374, allocations: 120.5 kB / 1.287 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/2.376, allocations: 0.5409 MB / 1.287 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.857e-06/2.376, allocations: 0 / 1.287 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/2.493, allocations: 28.34 MB / 1.315 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/2.494, allocations: 292.3 kB / 1.315 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.428/7.922, allocations: 0 / 1.315 GB, free: 156.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)