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.001391/0.001391, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001397/0.001397, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.148/3.148, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.001991/0.001991, allocations: 74.81 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006832/0.3239, allocations: 4.758 MB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1831/0.5069, allocations: 154 MB / 1.476 GB, free: 3.992 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.5081, allocations: 23.81 kB / 1.476 GB, free: 3.969 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.509, allocations: 198.2 kB / 1.476 GB, free: 3.773 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.5114, allocations: 0.5395 MB / 1.477 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.514, allocations: 0.8822 MB / 1.477 GB, free: 2.359 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.5165, allocations: 1.413 MB / 1.479 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5176, allocations: 380.1 kB / 1.479 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.5188, allocations: 0.4905 MB / 1.48 GB, free: 56 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.5201, allocations: 0.5017 MB / 1.48 GB, free: 15.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.5205, allocations: 112 kB / 1.48 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.5232, allocations: 0.9168 MB / 1.481 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007048/0.5239, allocations: 295 kB / 1.481 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.5251, allocations: 0.5401 MB / 1.482 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.5301, allocations: 1.856 MB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5301, allocations: 0 / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5301, allocations: 0 / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.035e-05/0.5302, allocations: 3.938 kB / 1.484 GB, free: 11.82 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.004091/0.5342, allocations: 1.539 MB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5343, allocations: 11.98 kB / 1.485 GB, free: 10.22 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002437/0.5345, allocations: 126.8 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.5366, allocations: 268 kB / 1.486 GB, free: 9.828 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5382, allocations: 0.7901 MB / 1.486 GB, free: 8.996 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/0.5383, allocations: 62 kB / 1.486 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5384, allocations: 72 kB / 1.487 GB, free: 8.867 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5403, allocations: 0.8918 MB / 1.487 GB, free: 7.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5403, allocations: 4 kB / 1.487 GB, free: 7.926 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.5404, allocations: 35.98 kB / 1.487 GB, free: 7.891 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.5404, allocations: 16 kB / 1.487 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.5427, allocations: 1.124 MB / 1.489 GB, free: 6.75 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.5473, allocations: 2.59 MB / 1.491 GB, free: 4.059 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5491, allocations: 0.7805 MB / 1.492 GB, free: 3.27 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007656/0.5499, allocations: 310.6 kB / 1.492 GB, free: 2.961 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.332e-05/0.55, allocations: 40.53 kB / 1.492 GB, free: 2.922 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.5511, allocations: 0.5265 MB / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.5511, allocations: 0 / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.004/0.5551, allocations: 1.292 MB / 1.494 GB, free: 1.059 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.5553, allocations: 192.6 kB / 1.494 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.5564, allocations: 0.6724 MB / 1.495 GB, free: 156 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-05/0.5565, allocations: 41.7 kB / 1.495 GB, free: 108 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.5569, allocations: 389.2 kB / 1.495 GB, free: 15.71 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.5572, allocations: 277.6 kB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.5575, allocations: 158.6 kB / 1.496 GB, free: 15.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000292/0.5578, allocations: 394.7 kB / 1.496 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.5585, allocations: 281.8 kB / 1.496 GB, free: 14.62 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.5594, allocations: 395.3 kB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.5609, allocations: 0.6432 MB / 1.497 GB, free: 13.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5609, allocations: 0 / 1.497 GB, free: 13.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002638/0.5636, allocations: 0.8804 MB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5636, allocations: 10.47 kB / 1.498 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5636, allocations: 4 kB / 1.498 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.5642, allocations: 84.77 kB / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.565, allocations: 163.8 kB / 1.498 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.5675, allocations: 1.661 MB / 1.5 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.5683, allocations: 91.59 kB / 1.5 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.5684, allocations: 31.97 kB / 1.5 GB, free: 10.46 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.0005223/0.5689, allocations: 275.4 kB / 1.5 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.5692, allocations: 95.39 kB / 1.5 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.5723, allocations: 1.203 MB / 1.502 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5723, allocations: 8 kB / 1.502 GB, free: 8.863 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5723, allocations: 0 / 1.502 GB, free: 8.863 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5724, allocations: 7.922 kB / 1.502 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.5737, allocations: 0.9349 MB / 1.503 GB, free: 7.871 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5737, allocations: 3.984 kB / 1.503 GB, free: 7.867 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.5744, allocations: 159.8 kB / 1.503 GB, free: 7.711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.5748, allocations: 76.78 kB / 1.503 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.5749, allocations: 23.98 kB / 1.503 GB, free: 7.609 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.5772, allocations: 1.674 MB / 1.504 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5772, allocations: 4.062 kB / 1.504 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.5798, allocations: 1.01 MB / 1.505 GB, free: 4.754 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.5804, allocations: 288.2 kB / 1.506 GB, free: 4.453 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.5806, allocations: 20 kB / 1.506 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.5814, allocations: 71.92 kB / 1.506 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5815, allocations: 76.89 kB / 1.506 GB, free: 4.289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.5816, allocations: 39.97 kB / 1.506 GB, free: 4.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007861/0.5824, allocations: 487 kB / 1.506 GB, free: 3.781 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5824, allocations: 0 / 1.506 GB, free: 3.781 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001044/0.5835, allocations: 335.1 kB / 1.507 GB, free: 3.453 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.004945/0.5884, allocations: 2.093 MB / 1.509 GB, free: 1.504 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.5907, allocations: 0.839 MB / 1.51 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5907, allocations: 0 / 1.51 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5918, allocations: 0.5316 MB / 1.51 GB, free: 116 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5933, allocations: 306.7 kB / 1.51 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.6076, allocations: 6.498 MB / 1.517 GB, free: 9.176 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008635/0.6084, allocations: 1.016 MB / 1.518 GB, free: 8.129 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00109/0.6095, allocations: 283 kB / 1.518 GB, free: 7.848 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.6102, allocations: 391.3 kB / 1.518 GB, free: 7.465 MB / 1.217 GB Notification: Performance of SimCode: time 1.323e-06/0.6102, allocations: 0 / 1.518 GB, free: 7.465 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/0.676, allocations: 22.95 MB / 1.541 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.22, allocations: 13.88 kB / 1.541 GB, free: 0.8047 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.966992752160877]