Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001321/0.001321, allocations: 108 kB / 15.6 MB, free: 132 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.001491/0.001491, allocations: 198 kB / 16.54 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.03 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.252, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1471/0.3991, allocations: 156.8 MB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.422, allocations: 21.73 MB / 1.227 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.4235, allocations: 59.62 kB / 1.227 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4252, allocations: 1.157 MB / 1.228 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.4267, allocations: 0.8601 MB / 1.229 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.4279, allocations: 446 kB / 1.23 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.4294, allocations: 1.251 MB / 1.231 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/0.4304, allocations: 0.6833 MB / 1.232 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.4312, allocations: 0.5568 MB / 1.232 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.4323, allocations: 0.9099 MB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.4325, allocations: 67.94 kB / 1.233 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.4328, allocations: 112 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.433, allocations: 312.8 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.4335, allocations: 0.489 MB / 1.234 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4347, allocations: 1.179 MB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4347, allocations: 0 / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4347, allocations: 0 / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.823e-05/0.4348, allocations: 0 / 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.002638/0.4374, allocations: 1.479 MB / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4375, allocations: 12.62 kB / 1.237 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.4376, allocations: 82.7 kB / 1.237 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.4378, allocations: 139.3 kB / 1.237 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.4386, allocations: 0.6508 MB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.4387, allocations: 78.67 kB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.4388, allocations: 52 kB / 1.238 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.4397, allocations: 0.5184 MB / 1.238 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4397, allocations: 0 / 1.238 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.4398, allocations: 16 kB / 1.238 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4398, allocations: 12 kB / 1.238 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.4406, allocations: 415.7 kB / 1.238 GB, free: 9.465 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.003229/0.4439, allocations: 2.735 MB / 1.241 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.4448, allocations: 447.6 kB / 1.242 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.4454, allocations: 301.3 kB / 1.242 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.4454, allocations: 4.656 kB / 1.242 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.4459, allocations: 287.5 kB / 1.242 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.335e-06/0.446, allocations: 0 / 1.242 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002446/0.4484, allocations: 1.155 MB / 1.243 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.4485, allocations: 55.41 kB / 1.243 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4501, allocations: 1.768 MB / 1.245 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.4501, allocations: 37.7 kB / 1.245 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.4505, allocations: 0.525 MB / 1.246 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4506, allocations: 145.9 kB / 1.246 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.4508, allocations: 98.23 kB / 1.246 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.4509, allocations: 329.9 kB / 1.246 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.4514, allocations: 217 kB / 1.246 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.4519, allocations: 335.2 kB / 1.247 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/0.4527, allocations: 0.5161 MB / 1.247 GB, free: 104 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4527, allocations: 4 kB / 1.247 GB, free: 100 kB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4057/0.8584, allocations: 0.7955 MB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.8585, allocations: 7.469 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8585, allocations: 3.875 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.8589, allocations: 134.2 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.8593, allocations: 104.4 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.8618, allocations: 2.605 MB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.8624, allocations: 77.91 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.8624, allocations: 21 kB / 1.251 GB, free: 194.8 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: 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005223/0.8629, allocations: 395.8 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.8631, allocations: 115.9 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.8633, allocations: 141 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8633, allocations: 7.438 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8633, allocations: 5.75 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8633, allocations: 1.406 kB / 1.251 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.8652, allocations: 1.478 MB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8653, allocations: 0 / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.8655, allocations: 49.34 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/0.8658, allocations: 170.8 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.8658, allocations: 9.312 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.8684, allocations: 4.038 MB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8684, allocations: 0 / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.8698, allocations: 0.9861 MB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.87, allocations: 212 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.8701, allocations: 18.14 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.8704, allocations: 25.5 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.8705, allocations: 55.41 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.8705, allocations: 17.95 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001073/0.8716, allocations: 1.286 MB / 1.26 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.52e-07/0.8716, allocations: 0 / 1.26 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006694/0.8723, allocations: 202.8 kB / 1.26 GB, free: 190.8 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,12,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.002532/0.8748, allocations: 1.909 MB / 1.262 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8761, allocations: 0.6987 MB / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8761, allocations: 2.906 kB / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006696/0.8768, allocations: 0.5212 MB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.8777, allocations: 199 kB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.8894, allocations: 9.078 MB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.8901, allocations: 1.15 MB / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.8905, allocations: 101.3 kB / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.8909, allocations: 406.6 kB / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.8909, allocations: 0 / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/0.9525, allocations: 20.48 MB / 1.293 GB, free: 178 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.986/9.938, allocations: 8 kB / 1.293 GB, free: 178 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)