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.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.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.001312/0.001313, allocations: 108 kB / 15.61 MB, free: 152 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.001242/0.001242, allocations: 194.3 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.282/1.282, 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.562/2.562, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 65.22 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2351, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1459/0.381, allocations: 157.1 MB / 1.206 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.4033, allocations: 21.87 MB / 1.228 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4047, allocations: 55.69 kB / 1.228 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.4063, allocations: 1.344 MB / 1.229 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.4077, allocations: 0.973 MB / 1.23 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4088, allocations: 0.4978 MB / 1.23 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.41, allocations: 1.434 MB / 1.232 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.4108, allocations: 0.7813 MB / 1.233 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.4114, allocations: 0.6425 MB / 1.233 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.4124, allocations: 1.105 MB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.4126, allocations: 72 kB / 1.234 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.4128, allocations: 123.9 kB / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.4131, allocations: 364.5 kB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.4135, allocations: 0.5627 MB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4146, allocations: 1.347 MB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4146, allocations: 4 kB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4146, allocations: 0 / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.4146, allocations: 0 / 1.237 GB, free: 11.35 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.002185/0.4168, allocations: 1.675 MB / 1.238 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.4168, allocations: 16.56 kB / 1.238 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.987e-05/0.4169, allocations: 94.64 kB / 1.238 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.4172, allocations: 163 kB / 1.239 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.418, allocations: 0.7436 MB / 1.239 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4181, allocations: 74.69 kB / 1.239 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.4182, allocations: 59.89 kB / 1.239 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009343/0.4191, allocations: 0.5692 MB / 1.24 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4192, allocations: 0 / 1.24 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.4192, allocations: 20 kB / 1.24 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4192, allocations: 12 kB / 1.24 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008693/0.4201, allocations: 447.6 kB / 1.24 GB, free: 7.355 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.003388/0.4235, allocations: 3.021 MB / 1.243 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4246, allocations: 0.4906 MB / 1.244 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.4252, allocations: 317.9 kB / 1.244 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.4252, allocations: 4.375 kB / 1.244 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.4258, allocations: 333.1 kB / 1.245 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/0.4258, allocations: 4 kB / 1.245 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.002989/0.4288, allocations: 1.34 MB / 1.246 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4288, allocations: 67.83 kB / 1.246 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4091/0.8379, allocations: 2.107 MB / 1.248 GB, free: 196 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.8381, allocations: 40.92 kB / 1.248 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004961/0.8386, allocations: 0.6253 MB / 1.249 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8388, allocations: 170.3 kB / 1.249 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.8389, allocations: 106.9 kB / 1.249 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.839, allocations: 330.9 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.8396, allocations: 232.4 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.8401, allocations: 350.8 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.8411, allocations: 0.5445 MB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8411, allocations: 1.906 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001726/0.8428, allocations: 0.916 MB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.8428, allocations: 9.75 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8429, allocations: 2.688 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.8433, allocations: 196.6 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.8437, allocations: 105.5 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.8464, allocations: 3.049 MB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.8468, allocations: 78.33 kB / 1.255 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.8469, allocations: 23.69 kB / 1.255 GB, free: 193.6 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.0003902/0.8473, allocations: 433.5 kB / 1.255 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8474, allocations: 139.4 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.8476, allocations: 167.6 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8476, allocations: 13.88 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.8476, allocations: 4 kB / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8476, allocations: 0 / 1.255 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.8498, allocations: 1.731 MB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8498, allocations: 0 / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.85, allocations: 56.88 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.8504, allocations: 196.6 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.8505, allocations: 15.97 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.8537, allocations: 4.61 MB / 1.262 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8538, allocations: 64 / 1.262 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.8555, allocations: 1.166 MB / 1.263 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.8557, allocations: 242.7 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.8558, allocations: 11.98 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.8561, allocations: 35.64 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.8563, allocations: 60.27 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.8563, allocations: 19.12 kB / 1.263 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001345/0.8577, allocations: 1.547 MB / 1.265 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8577, allocations: 0 / 1.265 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007144/0.8584, allocations: 218.8 kB / 1.265 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: 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.003081/0.8615, allocations: 2.09 MB / 1.267 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.8631, allocations: 0.808 MB / 1.268 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8632, allocations: 1.062 kB / 1.268 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.864, allocations: 0.5887 MB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.8651, allocations: 237 kB / 1.269 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.8781, allocations: 10.57 MB / 1.279 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.8789, allocations: 1.241 MB / 1.28 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.8792, allocations: 101.4 kB / 1.28 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.8797, allocations: 474.8 kB / 1.281 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.8797, allocations: 0 / 1.281 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5714/1.451, allocations: 23.71 MB / 1.304 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.41, allocations: 8.859 kB / 1.304 GB, free: 168.2 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)