Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001477/0.001477, 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.001729/0.001729, 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.524/2.524, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.75 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1469/0.4023, allocations: 154.5 MB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.425, allocations: 21.6 MB / 1.224 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4267, allocations: 47.75 kB / 1.224 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.4284, allocations: 1.126 MB / 1.225 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.4295, allocations: 0.8138 MB / 1.226 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008845/0.4304, allocations: 382.4 kB / 1.226 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.4315, allocations: 1.356 MB / 1.228 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.4322, allocations: 0.6161 MB / 1.228 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.4328, allocations: 0.4905 MB / 1.229 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.4337, allocations: 0.9137 MB / 1.23 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.4338, allocations: 39.94 kB / 1.23 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.434, allocations: 79.98 kB / 1.23 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.4343, allocations: 300.8 kB / 1.23 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.4347, allocations: 468.8 kB / 1.231 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009041/0.4356, allocations: 1.152 MB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4356, allocations: 3.984 kB / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.12e-07/0.4356, allocations: 0 / 1.232 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4356, allocations: 0 / 1.232 GB, free: 15.67 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.002075/0.4377, allocations: 1.479 MB / 1.233 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4377, allocations: 11.97 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/0.4378, allocations: 90.7 kB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.438, allocations: 131.3 kB / 1.233 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.4388, allocations: 0.6625 MB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.4389, allocations: 70.69 kB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.439, allocations: 47.98 kB / 1.234 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.4399, allocations: 0.5223 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4399, allocations: 4 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.44, allocations: 16 kB / 1.235 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.44, allocations: 8 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.4409, allocations: 411.7 kB / 1.235 GB, free: 12.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.00326/0.4441, allocations: 2.807 MB / 1.238 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.4451, allocations: 447.4 kB / 1.238 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.4457, allocations: 287.3 kB / 1.239 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.4457, allocations: 8.656 kB / 1.239 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/0.4463, allocations: 301.8 kB / 1.239 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.4463, allocations: 4 kB / 1.239 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002906/0.4492, allocations: 1.238 MB / 1.24 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4493, allocations: 63.39 kB / 1.24 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4509, allocations: 1.748 MB / 1.242 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.451, allocations: 41.7 kB / 1.242 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.4514, allocations: 0.5179 MB / 1.242 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.4515, allocations: 142 kB / 1.242 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.4516, allocations: 94.25 kB / 1.243 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.4518, allocations: 330.4 kB / 1.243 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.4522, allocations: 217 kB / 1.243 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.4528, allocations: 328.9 kB / 1.243 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.4537, allocations: 0.5016 MB / 1.244 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4537, allocations: 11.88 kB / 1.244 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001594/0.4553, allocations: 0.8432 MB / 1.245 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4553, allocations: 8 kB / 1.245 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4553, allocations: 8.125 kB / 1.245 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.4558, allocations: 185.9 kB / 1.245 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4562, allocations: 95.81 kB / 1.245 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3925/0.8487, allocations: 2.737 MB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.8492, allocations: 80.98 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.8493, allocations: 19.62 kB / 1.248 GB, free: 194 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: 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.8498, allocations: 388 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.8499, allocations: 117.3 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8501, allocations: 143.4 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8501, allocations: 6.688 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8501, allocations: 3.719 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.8501, allocations: 2.578 kB / 1.248 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.8524, allocations: 1.563 MB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8524, allocations: 1.469 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.8527, allocations: 50.52 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.8532, allocations: 188.1 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.8532, allocations: 19.83 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.8563, allocations: 4.129 MB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8563, allocations: 0 / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.8579, allocations: 1.061 MB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.8581, allocations: 219.5 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.8582, allocations: 14 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.8585, allocations: 38.53 kB / 1.256 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8586, allocations: 54.73 kB / 1.256 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.8587, allocations: 13.5 kB / 1.256 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001023/0.8597, allocations: 1.282 MB / 1.257 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/0.8597, allocations: 0 / 1.257 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007053/0.8604, allocations: 214 kB / 1.257 GB, free: 190.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: 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,13,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.002706/0.8631, allocations: 1.986 MB / 1.259 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.8644, allocations: 0.7234 MB / 1.26 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8644, allocations: 0 / 1.26 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007591/0.8652, allocations: 0.5437 MB / 1.26 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.8661, allocations: 177.9 kB / 1.26 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.8783, allocations: 9.405 MB / 1.27 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/0.8791, allocations: 1.152 MB / 1.271 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003382/0.8795, allocations: 94.45 kB / 1.271 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.8799, allocations: 402.8 kB / 1.271 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.8799, allocations: 3.812 kB / 1.271 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.081/1.96, allocations: 20.13 MB / 1.291 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/1.961, allocations: 297.3 kB / 1.291 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/4.185, allocations: 2.031 kB / 1.291 GB, free: 177.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)