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.001756/0.001756, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002348/0.002348, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.789 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.144/3.144, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",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.002159/0.002159, allocations: 69.39 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006502/0.3635, allocations: 4.287 MB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.5409, allocations: 132.7 MB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.5418, allocations: 23.81 kB / 1.459 GB, free: 8.793 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.5424, allocations: 198.2 kB / 1.459 GB, free: 8.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.5443, allocations: 0.5393 MB / 1.46 GB, free: 8.059 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.5464, allocations: 0.8779 MB / 1.46 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.5481, allocations: 1.417 MB / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006936/0.5488, allocations: 345.6 kB / 1.462 GB, free: 5.406 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007811/0.5496, allocations: 0.4983 MB / 1.463 GB, free: 4.906 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.5503, allocations: 461.8 kB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.5504, allocations: 112 kB / 1.463 GB, free: 4.344 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.552, allocations: 0.8271 MB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.5523, allocations: 295 kB / 1.464 GB, free: 3.227 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.5528, allocations: 441.8 kB / 1.465 GB, free: 2.793 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.5554, allocations: 1.86 MB / 1.466 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5555, allocations: 0 / 1.466 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5555, allocations: 0 / 1.466 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.5555, allocations: 0 / 1.466 GB, free: 0.9258 MB / 1.154 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.002819/0.5583, allocations: 1.45 MB / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5583, allocations: 12.03 kB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.5585, allocations: 126.8 kB / 1.468 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.5603, allocations: 268 kB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.5617, allocations: 0.7219 MB / 1.469 GB, free: 14.28 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.5618, allocations: 54 kB / 1.469 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.5619, allocations: 72 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.5637, allocations: 1.155 MB / 1.47 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.5638, allocations: 0 / 1.47 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.5638, allocations: 32 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.5639, allocations: 20 kB / 1.47 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.5659, allocations: 1.077 MB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0041/0.57, allocations: 2.238 MB / 1.474 GB, free: 9.469 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.5717, allocations: 0.78 MB / 1.474 GB, free: 8.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.5724, allocations: 306.7 kB / 1.475 GB, free: 8.379 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.387e-05/0.5724, allocations: 32.56 kB / 1.475 GB, free: 8.348 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.5736, allocations: 0.6266 MB / 1.475 GB, free: 7.68 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.384e-06/0.5736, allocations: 3.938 kB / 1.475 GB, free: 7.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003778/0.5774, allocations: 1.224 MB / 1.476 GB, free: 6.445 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.5775, allocations: 188.6 kB / 1.477 GB, free: 6.215 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.5785, allocations: 0.6685 MB / 1.477 GB, free: 5.543 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5786, allocations: 45.7 kB / 1.477 GB, free: 5.492 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.579, allocations: 393.1 kB / 1.478 GB, free: 5.102 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.5793, allocations: 277.7 kB / 1.478 GB, free: 4.828 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.5795, allocations: 154.6 kB / 1.478 GB, free: 4.672 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.5798, allocations: 394.7 kB / 1.478 GB, free: 4.277 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.5805, allocations: 277.8 kB / 1.479 GB, free: 4.004 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/0.5814, allocations: 0.5155 MB / 1.479 GB, free: 3.43 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.5829, allocations: 0.6471 MB / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5829, allocations: 0 / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002447/0.5853, allocations: 0.8765 MB / 1.481 GB, free: 1.883 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5853, allocations: 12 kB / 1.481 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5853, allocations: 0 / 1.481 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.5859, allocations: 76.78 kB / 1.481 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.5866, allocations: 171.8 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.589, allocations: 1.535 MB / 1.482 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.5899, allocations: 103.4 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.5899, allocations: 36.03 kB / 1.483 GB, free: 15.82 MB / 1.186 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.0005063/0.5904, allocations: 272.3 kB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5906, allocations: 87.44 kB / 1.483 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.5936, allocations: 1.211 MB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5936, allocations: 8 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5936, allocations: 0 / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5936, allocations: 15.92 kB / 1.484 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.5948, allocations: 0.7561 MB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5948, allocations: 0 / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/0.5955, allocations: 159.8 kB / 1.485 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.596, allocations: 76.78 kB / 1.485 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.596, allocations: 27.97 kB / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.5981, allocations: 1.559 MB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5981, allocations: 7.984 kB / 1.487 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.6006, allocations: 1.01 MB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.6011, allocations: 218.9 kB / 1.488 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6012, allocations: 20 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.6019, allocations: 77.62 kB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.602, allocations: 76.86 kB / 1.488 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.6021, allocations: 39.97 kB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000656/0.6028, allocations: 491 kB / 1.489 GB, free: 9.539 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6028, allocations: 0 / 1.489 GB, free: 9.539 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009009/0.6037, allocations: 327.2 kB / 1.489 GB, free: 9.219 MB / 1.186 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.004845/0.6085, allocations: 2.128 MB / 1.491 GB, free: 7.273 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.6106, allocations: 0.8431 MB / 1.492 GB, free: 6.414 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6106, allocations: 0 / 1.492 GB, free: 6.414 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.6118, allocations: 0.5391 MB / 1.492 GB, free: 5.863 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6131, allocations: 296.1 kB / 1.493 GB, free: 5.594 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.6257, allocations: 6.483 MB / 1.499 GB, free: 14.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.6262, allocations: 444.1 kB / 1.499 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6272, allocations: 279.1 kB / 1.5 GB, free: 14.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/0.6279, allocations: 395.3 kB / 1.5 GB, free: 13.82 MB / 1.201 GB Notification: Performance of SimCode: time 9.91e-07/0.6279, allocations: 0 / 1.5 GB, free: 13.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06739/0.6952, allocations: 24.49 MB / 1.524 GB, free: 5.641 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.43, allocations: 2.75 kB / 1.524 GB, free: 5.641 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.395684788003564]