Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001507/0.001507, 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.001418/0.001418, allocations: 196.8 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.5 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2675, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1613/0.4287, allocations: 154.5 MB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.4526, allocations: 21.6 MB / 1.224 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.4543, allocations: 55.69 kB / 1.224 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4561, allocations: 1.126 MB / 1.225 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.4575, allocations: 0.8177 MB / 1.226 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.4587, allocations: 379.4 kB / 1.226 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.4602, allocations: 1.352 MB / 1.228 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007155/0.4609, allocations: 0.6083 MB / 1.228 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005754/0.4615, allocations: 0.4944 MB / 1.229 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.4624, allocations: 0.9098 MB / 1.23 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.4625, allocations: 36 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.4628, allocations: 83.92 kB / 1.23 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.463, allocations: 300.8 kB / 1.23 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.4634, allocations: 464.8 kB / 1.231 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009449/0.4644, allocations: 1.152 MB / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4644, allocations: 0 / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4644, allocations: 4 kB / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4644, allocations: 0 / 1.232 GB, free: 15.75 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.002148/0.4666, allocations: 1.479 MB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4666, allocations: 11.97 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.652e-05/0.4667, allocations: 86.7 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.4669, allocations: 131.3 kB / 1.233 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.4677, allocations: 0.6625 MB / 1.234 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4678, allocations: 78.69 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.4679, allocations: 40 kB / 1.234 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.4688, allocations: 0.5145 MB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4688, allocations: 7.938 kB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.4689, allocations: 20 kB / 1.235 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4689, allocations: 15.98 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.4697, allocations: 407.7 kB / 1.235 GB, free: 12.18 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.003378/0.4731, allocations: 2.807 MB / 1.238 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.4741, allocations: 451.4 kB / 1.238 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.4747, allocations: 283.3 kB / 1.239 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4747, allocations: 8.656 kB / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.4753, allocations: 305.8 kB / 1.239 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.033e-06/0.4753, allocations: 0 / 1.239 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002866/0.4782, allocations: 1.238 MB / 1.24 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4782, allocations: 55.41 kB / 1.24 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.4799, allocations: 1.752 MB / 1.242 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.48, allocations: 37.7 kB / 1.242 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.4804, allocations: 0.5179 MB / 1.242 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4805, allocations: 142 kB / 1.242 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4807, allocations: 102.2 kB / 1.243 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4808, allocations: 333.9 kB / 1.243 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.4813, allocations: 217.4 kB / 1.243 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.4818, allocations: 324.9 kB / 1.243 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.4827, allocations: 0.5016 MB / 1.244 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.4827, allocations: 7.938 kB / 1.244 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001575/0.4843, allocations: 0.8511 MB / 1.245 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4843, allocations: 11.98 kB / 1.245 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4843, allocations: 4 kB / 1.245 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.4849, allocations: 190.4 kB / 1.245 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.4852, allocations: 91.88 kB / 1.245 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3925/0.8778, allocations: 2.739 MB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.8783, allocations: 80.53 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8784, allocations: 19.02 kB / 1.248 GB, free: 194.1 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.0004638/0.8788, allocations: 387.7 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.879, allocations: 117.7 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.8792, allocations: 139.9 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.8792, allocations: 4.625 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8792, allocations: 3.812 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8792, allocations: 2.719 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.8815, allocations: 1.569 MB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8815, allocations: 0.7812 kB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.8817, allocations: 46.25 kB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.8822, allocations: 195 kB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.8822, allocations: 11.41 kB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.8853, allocations: 4.14 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8854, allocations: 0 / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.8869, allocations: 1.05 MB / 1.255 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.8871, allocations: 222.7 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/0.8872, allocations: 13.23 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.8875, allocations: 37.45 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8877, allocations: 51.77 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.8877, allocations: 17.89 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001041/0.8888, allocations: 1.277 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8888, allocations: 0 / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007149/0.8895, allocations: 212.5 kB / 1.257 GB, free: 190.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: 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.002733/0.8922, allocations: 1.991 MB / 1.259 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.8936, allocations: 0.7112 MB / 1.26 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8936, allocations: 3.938 kB / 1.26 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.8944, allocations: 0.5471 MB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.8953, allocations: 182.9 kB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.9079, allocations: 9.399 MB / 1.27 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.9088, allocations: 1.153 MB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003789/0.9092, allocations: 89.92 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.9096, allocations: 403.2 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/0.9096, allocations: 0.625 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.9445, allocations: 20.14 MB / 1.291 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.9447, allocations: 294 kB / 1.291 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.183, allocations: 0 / 1.291 GB, free: 177.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)