Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.001209/0.001209, 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.001263/0.001263, allocations: 192.5 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.312/2.312, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.8686 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5067, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005033/0.5117, allocations: 4.541 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.6414, allocations: 148.2 MB / 1.166 GB, free: 9.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.642, allocations: 11.94 kB / 1.166 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.6425, allocations: 146.9 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.6437, allocations: 432 kB / 1.166 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.645, allocations: 0.6638 MB / 1.167 GB, free: 8.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008457/0.6459, allocations: 1.152 MB / 1.168 GB, free: 6.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.6464, allocations: 482.7 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.6468, allocations: 358.5 kB / 1.169 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.6471, allocations: 394.1 kB / 1.169 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-05/0.6472, allocations: 40 kB / 1.169 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.6477, allocations: 331.5 kB / 1.17 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.6479, allocations: 195.2 kB / 1.17 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.6482, allocations: 437.5 kB / 1.17 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.6493, allocations: 1.324 MB / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6493, allocations: 0 / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6493, allocations: 0 / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6493, allocations: 0 / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001871/0.6512, allocations: 1.281 MB / 1.173 GB, free: 2.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.6512, allocations: 12.03 kB / 1.173 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.6513, allocations: 114.7 kB / 1.173 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.6516, allocations: 119.6 kB / 1.173 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008029/0.6524, allocations: 0.6915 MB / 1.174 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.6524, allocations: 50 kB / 1.174 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.6525, allocations: 64 kB / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.6536, allocations: 0.7759 MB / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.6536, allocations: 0 / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.6537, allocations: 28 kB / 1.175 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6537, allocations: 20 kB / 1.175 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.655, allocations: 0.9806 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.6578, allocations: 2.474 MB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6588, allocations: 0.6837 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.6592, allocations: 255.2 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.49e-05/0.6593, allocations: 32.52 kB / 1.179 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006128/0.6599, allocations: 418.3 kB / 1.179 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.913e-06/0.6599, allocations: 0 / 1.179 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001341/0.6612, allocations: 0.8428 MB / 1.18 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.6613, allocations: 243.8 kB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.662, allocations: 0.6294 MB / 1.181 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.6621, allocations: 41.81 kB / 1.181 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.6623, allocations: 368.4 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.6625, allocations: 224.8 kB / 1.182 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.6626, allocations: 138.2 kB / 1.182 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6628, allocations: 382.7 kB / 1.182 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.6631, allocations: 201.2 kB / 1.182 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.6635, allocations: 325.4 kB / 1.183 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.6642, allocations: 0.4939 MB / 1.183 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6642, allocations: 4 kB / 1.183 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009857/0.6652, allocations: 0.633 MB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6653, allocations: 6.031 kB / 1.184 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6653, allocations: 4 kB / 1.184 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6653, allocations: 4 kB / 1.184 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.6658, allocations: 143.8 kB / 1.184 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6658, allocations: 7.938 kB / 1.184 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.6663, allocations: 79.39 kB / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.6663, allocations: 31.97 kB / 1.184 GB, free: 6.289 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.6666, allocations: 246.2 kB / 1.184 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6668, allocations: 79.06 kB / 1.184 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.6682, allocations: 0.8487 MB / 1.185 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6682, allocations: 11.94 kB / 1.185 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6682, allocations: 4 kB / 1.185 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6682, allocations: 7.984 kB / 1.185 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009356/0.6692, allocations: 0.9753 MB / 1.186 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6692, allocations: 0 / 1.186 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.6696, allocations: 127.8 kB / 1.186 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.6696, allocations: 4 kB / 1.186 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.6696, allocations: 23.98 kB / 1.186 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6697, allocations: 4 kB / 1.186 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6697, allocations: 4 kB / 1.186 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6707, allocations: 0.7316 MB / 1.187 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.671, allocations: 259.8 kB / 1.187 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6711, allocations: 19.91 kB / 1.187 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.6716, allocations: 55.94 kB / 1.187 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.6717, allocations: 72.44 kB / 1.187 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.6718, allocations: 27.98 kB / 1.188 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004707/0.6722, allocations: 459 kB / 1.188 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6722, allocations: 0 / 1.188 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005966/0.6728, allocations: 267.5 kB / 1.188 GB, free: 1.973 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002338/0.6752, allocations: 1.793 MB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008193/0.676, allocations: 0.5443 MB / 1.19 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.676, allocations: 0 / 1.19 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.6765, allocations: 323.6 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.6774, allocations: 256.7 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.6854, allocations: 6.018 MB / 1.197 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.6859, allocations: 0.98 MB / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006402/0.6865, allocations: 246.3 kB / 1.198 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.687, allocations: 331.2 kB / 1.198 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of SimCode: time 1.683e-06/0.687, allocations: 0 / 1.198 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4637/1.151, allocations: 17.84 MB / 1.216 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.151, allocations: 277.3 kB / 1.216 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.43, allocations: 4.062 kB / 1.216 GB, free: 5.605 MB / 0.9669 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat does not exist to compare? outputFormat=mat