Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.45 kB / 1.155 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007685/0.3747, allocations: 4.793 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1971/0.5718, allocations: 154.1 MB / 1.482 GB, free: 2.445 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5729, allocations: 27.81 kB / 1.482 GB, free: 2.418 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.5739, allocations: 198.2 kB / 1.482 GB, free: 2.223 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.5762, allocations: 0.5447 MB / 1.483 GB, free: 1.68 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5786, allocations: 0.8914 MB / 1.483 GB, free: 0.793 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.5809, allocations: 1.42 MB / 1.485 GB, free: 15.37 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009807/0.5819, allocations: 372.5 kB / 1.485 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5831, allocations: 0.4944 MB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5842, allocations: 0.4979 MB / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.5844, allocations: 112 kB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.5864, allocations: 0.9246 MB / 1.487 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.5867, allocations: 295 kB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.5874, allocations: 0.544 MB / 1.488 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.5905, allocations: 1.86 MB / 1.49 GB, free: 10.25 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5905, allocations: 0 / 1.49 GB, free: 10.25 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.508e-06/0.5905, allocations: 3.984 kB / 1.49 GB, free: 10.24 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.5905, allocations: 4 kB / 1.49 GB, free: 10.24 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003282/0.5938, allocations: 1.458 MB / 1.491 GB, free: 8.742 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5938, allocations: 8.031 kB / 1.491 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.056e-05/0.5939, allocations: 18.19 kB / 1.491 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.594, allocations: 126.8 kB / 1.491 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.596, allocations: 268 kB / 1.492 GB, free: 8.324 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.5975, allocations: 0.7178 MB / 1.492 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.5976, allocations: 54 kB / 1.492 GB, free: 7.523 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5977, allocations: 76 kB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.5996, allocations: 0.8918 MB / 1.493 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5996, allocations: 0 / 1.493 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.5997, allocations: 36 kB / 1.493 GB, free: 6.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.5998, allocations: 20 kB / 1.493 GB, free: 6.461 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.6019, allocations: 1.128 MB / 1.494 GB, free: 5.332 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.6066, allocations: 2.543 MB / 1.497 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.6084, allocations: 0.7848 MB / 1.498 GB, free: 1.91 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.6091, allocations: 310.6 kB / 1.498 GB, free: 1.605 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-05/0.6092, allocations: 36.59 kB / 1.498 GB, free: 1.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.6103, allocations: 0.5325 MB / 1.499 GB, free: 1.02 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.6103, allocations: 0 / 1.499 GB, free: 1.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.00382/0.6141, allocations: 1.216 MB / 1.5 GB, free: 15.8 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.6143, allocations: 196.6 kB / 1.5 GB, free: 15.56 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.6153, allocations: 0.6608 MB / 1.501 GB, free: 14.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.6155, allocations: 41.7 kB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6158, allocations: 397.1 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.6161, allocations: 285.6 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.6164, allocations: 150.6 kB / 1.501 GB, free: 14.01 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.6166, allocations: 398.7 kB / 1.502 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.6173, allocations: 273.8 kB / 1.502 GB, free: 13.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/0.6181, allocations: 403.3 kB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.6196, allocations: 0.6393 MB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6197, allocations: 4 kB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002523/0.6222, allocations: 0.8804 MB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6222, allocations: 4 kB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6222, allocations: 8 kB / 1.504 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.6228, allocations: 88.83 kB / 1.504 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.6236, allocations: 167.7 kB / 1.504 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.6258, allocations: 1.544 MB / 1.506 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.6267, allocations: 95.53 kB / 1.506 GB, free: 9.352 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.6268, allocations: 36.03 kB / 1.506 GB, free: 9.316 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (89): * Single equations (assignments): 88 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005561/0.6273, allocations: 267.4 kB / 1.506 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.6276, allocations: 95.38 kB / 1.506 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.6306, allocations: 1.203 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.6307, allocations: 12 kB / 1.507 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6307, allocations: 3.938 kB / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6307, allocations: 3.984 kB / 1.507 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.632, allocations: 0.8988 MB / 1.508 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.632, allocations: 4 kB / 1.508 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.6327, allocations: 163.8 kB / 1.508 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.6331, allocations: 72.8 kB / 1.508 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.6332, allocations: 31.91 kB / 1.509 GB, free: 6.504 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.6354, allocations: 1.566 MB / 1.51 GB, free: 4.816 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6354, allocations: 0 / 1.51 GB, free: 4.816 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.638, allocations: 1.01 MB / 1.511 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.6384, allocations: 211.1 kB / 1.511 GB, free: 3.582 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6386, allocations: 27.94 kB / 1.511 GB, free: 3.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/0.6393, allocations: 71.92 kB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6395, allocations: 80.84 kB / 1.511 GB, free: 3.406 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/0.6395, allocations: 44.05 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007116/0.6403, allocations: 483 kB / 1.512 GB, free: 2.895 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6403, allocations: 0 / 1.512 GB, free: 2.895 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009853/0.6412, allocations: 331.2 kB / 1.512 GB, free: 2.57 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004737/0.646, allocations: 2.09 MB / 1.514 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.6481, allocations: 0.847 MB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6481, allocations: 0 / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6492, allocations: 0.5274 MB / 1.516 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.6506, allocations: 304.1 kB / 1.516 GB, free: 14.95 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.6629, allocations: 6.5 MB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.6637, allocations: 1.027 MB / 1.523 GB, free: 7.238 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009549/0.6646, allocations: 279 kB / 1.524 GB, free: 6.961 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/0.6653, allocations: 395.2 kB / 1.524 GB, free: 6.574 MB / 1.217 GB Notification: Performance of SimCode: time 9.32e-07/0.6653, allocations: 0 / 1.524 GB, free: 6.574 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/0.7278, allocations: 23.56 MB / 1.547 GB, free: 15.29 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.27, allocations: 10.7 kB / 1.547 GB, free: 15.28 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.199828128970694] Failed to read output from testmodel.py, exit status != 0: 15.559469104046002 15.576812423 14.982707364 Calling exit ...