Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_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.004344/0.004344, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.0012/0.0012, allocations: 200.3 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 278.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 96.52 kB / 0.6943 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4299, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006254/0.4362, allocations: 4.534 MB / 0.7857 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.608, allocations: 150.6 MB / 0.9328 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008329/0.6089, allocations: 19.88 kB / 0.9328 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.6094, allocations: 170.4 kB / 0.9329 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.611, allocations: 0.508 MB / 0.9334 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6128, allocations: 0.7655 MB / 0.9342 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6141, allocations: 1.242 MB / 0.9354 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.6148, allocations: 0.4986 MB / 0.9359 GB, free: 444 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.6152, allocations: 406.6 kB / 0.9363 GB, free: 36 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.6168, allocations: 430.1 kB / 0.9367 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.617, allocations: 96 kB / 0.9368 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000755/0.6178, allocations: 395.7 kB / 0.9372 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.6181, allocations: 263.1 kB / 0.9374 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.6186, allocations: 485.5 kB / 0.9379 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.6202, allocations: 1.414 MB / 0.9393 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6202, allocations: 4 kB / 0.9393 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6202, allocations: 0 / 0.9393 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.6203, allocations: 0 / 0.9393 GB, free: 12.98 MB / 0.7012 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.002172/0.6224, allocations: 1.318 MB / 0.9405 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6225, allocations: 12.03 kB / 0.9406 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.6226, allocations: 114.7 kB / 0.9407 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.6229, allocations: 112.3 kB / 0.9408 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6239, allocations: 0.7193 MB / 0.9415 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.624, allocations: 50 kB / 0.9415 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.6241, allocations: 68 kB / 0.9416 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6253, allocations: 0.7759 MB / 0.9423 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6253, allocations: 0 / 0.9423 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.6254, allocations: 35.94 kB / 0.9424 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.6254, allocations: 20 kB / 0.9424 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.6269, allocations: 0.9689 MB / 0.9433 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.6301, allocations: 2.463 MB / 0.9457 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.6313, allocations: 0.6799 MB / 0.9464 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.6317, allocations: 247.3 kB / 0.9466 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.989e-05/0.6318, allocations: 36.52 kB / 0.9467 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.6325, allocations: 418.4 kB / 0.9471 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 1.803e-06/0.6325, allocations: 3.938 kB / 0.9471 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001536/0.634, allocations: 0.842 MB / 0.9479 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.6342, allocations: 248 kB / 0.9481 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.635, allocations: 0.6332 MB / 0.9488 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.635, allocations: 37.7 kB / 0.9488 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.6353, allocations: 373 kB / 0.9492 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.6355, allocations: 238 kB / 0.9494 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.6357, allocations: 134.2 kB / 0.9495 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6359, allocations: 382.8 kB / 0.9499 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.6363, allocations: 201.2 kB / 0.9501 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.6368, allocations: 325.3 kB / 0.9504 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.6376, allocations: 0.4978 MB / 0.9509 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6376, allocations: 0 / 0.9509 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001074/0.6387, allocations: 0.6335 MB / 0.9515 GB, free: 16 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6387, allocations: 4 kB / 0.9515 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6387, allocations: 4 kB / 0.9515 GB, free: 8 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6388, allocations: 8.219 kB / 0.9515 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.6393, allocations: 143.8 kB / 0.9516 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6393, allocations: 4 kB / 0.9516 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.6398, allocations: 83.53 kB / 0.9517 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.6399, allocations: 27.98 kB / 0.9517 GB, free: 15.74 MB / 0.7169 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.0003315/0.6402, allocations: 253.7 kB / 0.952 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.6404, allocations: 87.42 kB / 0.9521 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.642, allocations: 0.837 MB / 0.9529 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.642, allocations: 11.94 kB / 0.9529 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.642, allocations: 4 kB / 0.9529 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.642, allocations: 7.984 kB / 0.9529 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6432, allocations: 0.9754 MB / 0.9539 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6432, allocations: 0 / 0.9539 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.6436, allocations: 123.8 kB / 0.954 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6436, allocations: 7.984 kB / 0.954 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.6437, allocations: 28.02 kB / 0.954 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.6437, allocations: 7.938 kB / 0.954 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6437, allocations: 3.938 kB / 0.954 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.6449, allocations: 0.7397 MB / 0.9547 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.6453, allocations: 264.2 kB / 0.955 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6454, allocations: 20 kB / 0.955 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.6459, allocations: 59.94 kB / 0.9551 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.646, allocations: 60.56 kB / 0.9551 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.6461, allocations: 27.98 kB / 0.9552 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005704/0.6467, allocations: 459 kB / 0.9556 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6467, allocations: 0 / 0.9556 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006661/0.6474, allocations: 267.3 kB / 0.9559 GB, free: 11.41 MB / 0.7169 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.003234/0.6506, allocations: 1.79 MB / 0.9576 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009615/0.6516, allocations: 0.5521 MB / 0.9581 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6516, allocations: 8.25 kB / 0.9581 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.6521, allocations: 327.6 kB / 0.9585 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6532, allocations: 263.8 kB / 0.9587 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007775/0.661, allocations: 5.545 MB / 0.9641 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.6616, allocations: 0.9809 MB / 0.9651 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006915/0.6623, allocations: 254.2 kB / 0.9653 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.6628, allocations: 327.3 kB / 0.9656 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.6628, allocations: 0 / 0.9656 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/0.7089, allocations: 18.68 MB / 0.9839 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.955/9.664, allocations: 15.8 kB / 0.9839 GB, free: 15.01 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)