Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001327/0.001327, 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.001592/0.001592, allocations: 210.8 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.314/3.314, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_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.002471/0.002471, allocations: 67.42 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3864, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007392/0.3938, allocations: 4.289 MB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.5676, allocations: 132.7 MB / 1.497 GB, free: 4.566 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.5686, allocations: 23.81 kB / 1.497 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.5693, allocations: 190.3 kB / 1.497 GB, free: 4.355 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.5713, allocations: 0.5535 MB / 1.498 GB, free: 3.805 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5734, allocations: 0.8827 MB / 1.499 GB, free: 2.926 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.5753, allocations: 1.409 MB / 1.5 GB, free: 1.512 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.5761, allocations: 360.5 kB / 1.5 GB, free: 1.137 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.5769, allocations: 0.4983 MB / 1.501 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.5777, allocations: 461.8 kB / 1.501 GB, free: 188 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.5779, allocations: 112 kB / 1.501 GB, free: 76 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.5796, allocations: 0.8155 MB / 1.502 GB, free: 15.26 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.5799, allocations: 295 kB / 1.503 GB, free: 14.97 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.5804, allocations: 449.7 kB / 1.503 GB, free: 14.53 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.5832, allocations: 1.849 MB / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5832, allocations: 0 / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5832, allocations: 0 / 1.505 GB, free: 12.67 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.5832, allocations: 4 kB / 1.505 GB, free: 12.67 MB / 1.201 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.002976/0.5862, allocations: 1.45 MB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.5862, allocations: 8.031 kB / 1.506 GB, free: 11.17 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.5864, allocations: 130.8 kB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.5882, allocations: 264 kB / 1.507 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.5897, allocations: 0.7257 MB / 1.507 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.5898, allocations: 61.98 kB / 1.507 GB, free: 9.965 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.5899, allocations: 68 kB / 1.507 GB, free: 9.898 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.5918, allocations: 1.151 MB / 1.509 GB, free: 8.641 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.5919, allocations: 4 kB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.5919, allocations: 32 kB / 1.509 GB, free: 8.605 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.592, allocations: 16 kB / 1.509 GB, free: 8.59 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.5941, allocations: 1.085 MB / 1.51 GB, free: 7.508 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.5983, allocations: 2.228 MB / 1.512 GB, free: 5.215 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.5999, allocations: 0.7778 MB / 1.513 GB, free: 4.43 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.6007, allocations: 314.6 kB / 1.513 GB, free: 4.121 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.6007, allocations: 32.56 kB / 1.513 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.6019, allocations: 0.6294 MB / 1.514 GB, free: 3.418 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 2.756e-06/0.6019, allocations: 0 / 1.514 GB, free: 3.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003781/0.6057, allocations: 1.22 MB / 1.515 GB, free: 2.191 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6058, allocations: 196.6 kB / 1.515 GB, free: 1.953 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6068, allocations: 0.6608 MB / 1.516 GB, free: 1.285 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.6069, allocations: 41.7 kB / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.6073, allocations: 401 kB / 1.516 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.6076, allocations: 277.6 kB / 1.516 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.6078, allocations: 150.6 kB / 1.516 GB, free: 424 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.608, allocations: 398.7 kB / 1.517 GB, free: 16 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.6087, allocations: 277.9 kB / 1.517 GB, free: 15.74 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.6096, allocations: 0.5155 MB / 1.518 GB, free: 15.16 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6111, allocations: 0.6393 MB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6111, allocations: 4 kB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002301/0.6134, allocations: 0.8726 MB / 1.519 GB, free: 13.63 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6134, allocations: 8.125 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6134, allocations: 7.938 kB / 1.519 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.614, allocations: 80.77 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.6147, allocations: 167.8 kB / 1.519 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.6169, allocations: 1.539 MB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.6177, allocations: 95.5 kB / 1.521 GB, free: 11.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.6178, allocations: 32.03 kB / 1.521 GB, free: 11.58 MB / 1.217 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.0004735/0.6183, allocations: 271.3 kB / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.6185, allocations: 91.44 kB / 1.521 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.6215, allocations: 1.215 MB / 1.522 GB, free: 9.988 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.6215, allocations: 8 kB / 1.522 GB, free: 9.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6215, allocations: 3.938 kB / 1.522 GB, free: 9.977 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6215, allocations: 11.92 kB / 1.522 GB, free: 9.965 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.6227, allocations: 0.7661 MB / 1.523 GB, free: 9.156 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6227, allocations: 7.922 kB / 1.523 GB, free: 9.148 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.6234, allocations: 159.8 kB / 1.523 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.6239, allocations: 76.78 kB / 1.523 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.6239, allocations: 23.98 kB / 1.523 GB, free: 8.891 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.6261, allocations: 1.559 MB / 1.525 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6261, allocations: 3.984 kB / 1.525 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.6286, allocations: 1.006 MB / 1.526 GB, free: 6.18 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.6292, allocations: 223 kB / 1.526 GB, free: 5.961 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6293, allocations: 16 kB / 1.526 GB, free: 5.945 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.6301, allocations: 75.98 kB / 1.526 GB, free: 5.871 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.6302, allocations: 80.84 kB / 1.526 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.6303, allocations: 39.97 kB / 1.526 GB, free: 5.754 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007273/0.6311, allocations: 494.9 kB / 1.527 GB, free: 5.277 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6311, allocations: 0 / 1.527 GB, free: 5.277 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009606/0.632, allocations: 327.2 kB / 1.527 GB, free: 4.957 MB / 1.217 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.004937/0.637, allocations: 2.121 MB / 1.529 GB, free: 3.012 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.6392, allocations: 0.8392 MB / 1.53 GB, free: 2.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6392, allocations: 0 / 1.53 GB, free: 2.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.6404, allocations: 0.5236 MB / 1.531 GB, free: 1.625 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.6419, allocations: 299.5 kB / 1.531 GB, free: 1.355 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.6557, allocations: 6.503 MB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.6563, allocations: 442.8 kB / 1.538 GB, free: 10.23 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001012/0.6573, allocations: 267.1 kB / 1.538 GB, free: 9.961 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.658, allocations: 399.2 kB / 1.538 GB, free: 9.57 MB / 1.232 GB Notification: Performance of SimCode: time 1.173e-06/0.658, allocations: 0 / 1.538 GB, free: 9.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07073/0.7287, allocations: 24.49 MB / 1.562 GB, free: 1.363 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.39, allocations: 11.05 kB / 1.562 GB, free: 1.355 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.660919495858252]