Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="Buildings_9_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.001157/0.001157, allocations: 108 kB / 15.61 MB, free: 128 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.001121/0.001121, allocations: 197.5 kB / 16.53 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.173/1.173, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.047/2.047, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4651, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004236/0.4694, allocations: 4.254 MB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1318/0.6012, allocations: 150.5 MB / 1.101 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.6018, allocations: 15.94 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.6023, allocations: 166.5 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.6036, allocations: 489.2 kB / 1.102 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.6051, allocations: 0.7392 MB / 1.102 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.6059, allocations: 1.203 MB / 1.103 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.6065, allocations: 0.51 MB / 1.104 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.6069, allocations: 410.5 kB / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.6073, allocations: 414.1 kB / 1.105 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.6074, allocations: 96 kB / 1.105 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.6079, allocations: 379.7 kB / 1.105 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.6081, allocations: 251.2 kB / 1.105 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.6084, allocations: 489.4 kB / 1.106 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.6095, allocations: 1.359 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6095, allocations: 0 / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6095, allocations: 0 / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.6095, allocations: 0 / 1.107 GB, free: 15.95 MB / 0.8731 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.00172/0.6112, allocations: 1.273 MB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.6113, allocations: 8.031 kB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6114, allocations: 114.7 kB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.6116, allocations: 107.7 kB / 1.109 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.6124, allocations: 0.7031 MB / 1.109 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.6125, allocations: 50 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.6125, allocations: 68 kB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.6135, allocations: 0.7643 MB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6135, allocations: 7.938 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.6136, allocations: 32 kB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.6136, allocations: 16 kB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6148, allocations: 0.9805 MB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.6174, allocations: 2.49 MB / 1.114 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.6184, allocations: 0.6759 MB / 1.114 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.6188, allocations: 251.3 kB / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.6188, allocations: 32.5 kB / 1.115 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/0.6194, allocations: 423.5 kB / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 1.613e-06/0.6194, allocations: 0 / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001263/0.6207, allocations: 0.8376 MB / 1.116 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.6208, allocations: 251.8 kB / 1.116 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.6214, allocations: 0.6255 MB / 1.117 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.6215, allocations: 41.7 kB / 1.117 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.6217, allocations: 360.5 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.6218, allocations: 224.8 kB / 1.117 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.622, allocations: 138.2 kB / 1.117 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6221, allocations: 382.8 kB / 1.118 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.6224, allocations: 197.2 kB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.6228, allocations: 325.4 kB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.6235, allocations: 0.5016 MB / 1.119 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6235, allocations: 0 / 1.119 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009022/0.6244, allocations: 0.6369 MB / 1.119 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6244, allocations: 4 kB / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6244, allocations: 112 / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6245, allocations: 7.938 kB / 1.119 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.6249, allocations: 147.9 kB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6249, allocations: 4 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.6254, allocations: 77.42 kB / 1.12 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6254, allocations: 31.98 kB / 1.12 GB, free: 2.785 MB / 0.8731 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.0002631/0.6257, allocations: 253.6 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6258, allocations: 86.95 kB / 1.12 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6272, allocations: 0.8448 MB / 1.121 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6272, allocations: 11.94 kB / 1.121 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6272, allocations: 4 kB / 1.121 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.6272, allocations: 3.984 kB / 1.121 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/0.6281, allocations: 0.9715 MB / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6281, allocations: 0 / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.6285, allocations: 127.8 kB / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6285, allocations: 0 / 1.122 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.6285, allocations: 27.97 kB / 1.122 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6285, allocations: 4 kB / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6285, allocations: 0 / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.6295, allocations: 0.7432 MB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.6298, allocations: 259.8 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6299, allocations: 16 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.6303, allocations: 59.94 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.6304, allocations: 60.58 kB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.6305, allocations: 27.98 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000452/0.631, allocations: 463 kB / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.631, allocations: 0 / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005412/0.6315, allocations: 259.5 kB / 1.124 GB, free: 14.47 MB / 0.8887 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.002234/0.6338, allocations: 1.8 MB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.635, allocations: 0.72 MB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.635, allocations: 0 / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.6354, allocations: 327.6 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.6363, allocations: 265 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.6424, allocations: 5.687 MB / 1.132 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.6429, allocations: 0.9836 MB / 1.133 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005813/0.6435, allocations: 238.3 kB / 1.133 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.6438, allocations: 338.3 kB / 1.134 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.6438, allocations: 0 / 1.134 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4159/1.06, allocations: 18.14 MB / 1.152 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/8.587, allocations: 3.953 kB / 1.152 GB, free: 2.297 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat does not exist to compare? outputFormat=mat