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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 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.001162/0.001162, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.1 MB / 0.7104 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5463, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005708/0.552, allocations: 4.528 MB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.6858, allocations: 150.5 MB / 1.169 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.6865, allocations: 19.88 kB / 1.169 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.6871, allocations: 182.4 kB / 1.169 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.6886, allocations: 0.5126 MB / 1.17 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.6901, allocations: 0.7518 MB / 1.17 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.6913, allocations: 1.234 MB / 1.171 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.6919, allocations: 0.4948 MB / 1.172 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.6924, allocations: 410.5 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.6929, allocations: 427.2 kB / 1.173 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.6931, allocations: 96 kB / 1.173 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.6937, allocations: 375.7 kB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.6939, allocations: 259.1 kB / 1.173 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.6943, allocations: 493.5 kB / 1.174 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.6955, allocations: 1.371 MB / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6955, allocations: 0 / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.083e-06/0.6955, allocations: 0 / 1.175 GB, free: 188 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.6956, allocations: 4 kB / 1.175 GB, free: 184 kB / 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.001963/0.6975, allocations: 1.277 MB / 1.177 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.6976, allocations: 8.031 kB / 1.177 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.6977, allocations: 110.7 kB / 1.177 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.698, allocations: 115.7 kB / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/0.6988, allocations: 0.6953 MB / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.6989, allocations: 54 kB / 1.177 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.6989, allocations: 64 kB / 1.178 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.7, allocations: 0.7799 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7, allocations: 3.938 kB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.7001, allocations: 28 kB / 1.178 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.7001, allocations: 16 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.7013, allocations: 0.9728 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.7041, allocations: 2.482 MB / 1.182 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7051, allocations: 0.6808 MB / 1.182 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.7054, allocations: 251.3 kB / 1.183 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.7055, allocations: 24.53 kB / 1.183 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/0.7061, allocations: 434.6 kB / 1.183 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.7061, allocations: 3.938 kB / 1.183 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001305/0.7075, allocations: 0.8338 MB / 1.184 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.7076, allocations: 247.8 kB / 1.184 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.7082, allocations: 0.6254 MB / 1.185 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.7082, allocations: 41.69 kB / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.7085, allocations: 368.5 kB / 1.185 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7086, allocations: 216.8 kB / 1.185 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.7088, allocations: 146.3 kB / 1.185 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7089, allocations: 378.8 kB / 1.186 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.7093, allocations: 201.2 kB / 1.186 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.7097, allocations: 329.4 kB / 1.186 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006862/0.7104, allocations: 0.4938 MB / 1.187 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7104, allocations: 0 / 1.187 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009348/0.7113, allocations: 0.6369 MB / 1.187 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.7113, allocations: 8 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7114, allocations: 0 / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7114, allocations: 4 kB / 1.187 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.7119, allocations: 139.7 kB / 1.188 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7119, allocations: 4 kB / 1.188 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.7123, allocations: 81.11 kB / 1.188 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.7124, allocations: 31.98 kB / 1.188 GB, free: 3.023 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.0002719/0.7127, allocations: 249.7 kB / 1.188 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.7128, allocations: 83.05 kB / 1.188 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.7142, allocations: 0.8525 MB / 1.189 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.7142, allocations: 11.94 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7142, allocations: 0 / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-06/0.7143, allocations: 3.984 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.7152, allocations: 0.9676 MB / 1.19 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7152, allocations: 4.031 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.7156, allocations: 127.8 kB / 1.19 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.7156, allocations: 4 kB / 1.19 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.7156, allocations: 23.98 kB / 1.19 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7157, allocations: 4 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7157, allocations: 3.938 kB / 1.19 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.7167, allocations: 0.7354 MB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.7169, allocations: 263.8 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7171, allocations: 24 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.7175, allocations: 55.94 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7177, allocations: 60.56 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.7177, allocations: 27.98 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004628/0.7182, allocations: 459 kB / 1.192 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7182, allocations: 0 / 1.192 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005825/0.7188, allocations: 275.4 kB / 1.192 GB, free: 14.7 MB / 0.9512 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.0023/0.7211, allocations: 1.795 MB / 1.194 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.7224, allocations: 0.7239 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7224, allocations: 0 / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.7229, allocations: 323.6 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.7238, allocations: 278.9 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/0.7303, allocations: 5.703 MB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.7307, allocations: 0.9797 MB / 1.201 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006429/0.7314, allocations: 254.2 kB / 1.202 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.7318, allocations: 331.3 kB / 1.202 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.7318, allocations: 0 / 1.202 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.7683, allocations: 18.48 MB / 1.22 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.789, allocations: 3.938 kB / 1.22 GB, free: 2.172 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.csv --start-time 3.09924e+07 --stop-time 3.186e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)