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.001772/0.001772, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002353/0.002353, allocations: 212.8 kB / 22.25 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.793 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.233/3.233, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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="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.002238/0.002238, allocations: 66.97 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3588, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.008248/0.3671, allocations: 4.297 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.5417, allocations: 132.7 MB / 1.46 GB, free: 8.004 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.5426, allocations: 23.81 kB / 1.46 GB, free: 7.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.5433, allocations: 190.2 kB / 1.46 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.5452, allocations: 0.56 MB / 1.46 GB, free: 7.234 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.5475, allocations: 0.8798 MB / 1.461 GB, free: 6.359 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.5494, allocations: 1.413 MB / 1.463 GB, free: 4.941 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.5502, allocations: 373.9 kB / 1.463 GB, free: 4.555 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008734/0.5511, allocations: 0.4983 MB / 1.463 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007363/0.5518, allocations: 0.5036 MB / 1.464 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.552, allocations: 112 kB / 1.464 GB, free: 3.441 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.5537, allocations: 0.8506 MB / 1.465 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.554, allocations: 295 kB / 1.465 GB, free: 2.301 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.5545, allocations: 441.8 kB / 1.466 GB, free: 1.867 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.5574, allocations: 1.86 MB / 1.467 GB, free: 0 / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.5574, allocations: 0 / 1.467 GB, free: 0 / 1.154 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5574, allocations: 4.047 kB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.5575, allocations: 0 / 1.467 GB, free: 15.99 MB / 1.17 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.00307/0.5605, allocations: 1.454 MB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.5606, allocations: 12.03 kB / 1.469 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.5608, allocations: 122.8 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5626, allocations: 268 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.564, allocations: 0.7219 MB / 1.47 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.5641, allocations: 62 kB / 1.47 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5642, allocations: 72 kB / 1.47 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.5661, allocations: 1.143 MB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5661, allocations: 0 / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.5662, allocations: 35.98 kB / 1.471 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5662, allocations: 20 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5682, allocations: 1.077 MB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.5725, allocations: 2.226 MB / 1.474 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.5741, allocations: 0.7823 MB / 1.475 GB, free: 7.758 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.5748, allocations: 310.7 kB / 1.475 GB, free: 7.453 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-05/0.5749, allocations: 28.56 kB / 1.476 GB, free: 7.426 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.5761, allocations: 0.6269 MB / 1.476 GB, free: 6.754 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.5761, allocations: 0 / 1.476 GB, free: 6.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003732/0.5798, allocations: 1.22 MB / 1.477 GB, free: 5.527 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.5799, allocations: 188.6 kB / 1.477 GB, free: 5.297 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5809, allocations: 0.6686 MB / 1.478 GB, free: 4.625 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.911e-05/0.581, allocations: 49.64 kB / 1.478 GB, free: 4.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.5814, allocations: 397.1 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.5817, allocations: 277.6 kB / 1.479 GB, free: 3.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.5819, allocations: 158.6 kB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.5821, allocations: 390.7 kB / 1.479 GB, free: 3.352 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.5828, allocations: 281.8 kB / 1.48 GB, free: 3.074 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.5837, allocations: 0.5116 MB / 1.48 GB, free: 2.504 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.5851, allocations: 0.6393 MB / 1.481 GB, free: 1.852 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5851, allocations: 4 kB / 1.481 GB, free: 1.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002364/0.5875, allocations: 0.8803 MB / 1.482 GB, free: 0.957 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5875, allocations: 4 kB / 1.482 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5875, allocations: 3.938 kB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.5881, allocations: 84.89 kB / 1.482 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.5889, allocations: 167.8 kB / 1.482 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.5911, allocations: 1.542 MB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/0.5919, allocations: 99.52 kB / 1.483 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.592, allocations: 39.97 kB / 1.483 GB, free: 14.9 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.0005183/0.5925, allocations: 259.4 kB / 1.484 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.5927, allocations: 87.44 kB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.5956, allocations: 1.214 MB / 1.485 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.5957, allocations: 8 kB / 1.485 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.5957, allocations: 4 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5957, allocations: 7.922 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.5968, allocations: 0.7562 MB / 1.486 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5969, allocations: 3.984 kB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.5975, allocations: 163.8 kB / 1.486 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.598, allocations: 76.72 kB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.598, allocations: 23.98 kB / 1.486 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.6, allocations: 1.555 MB / 1.488 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6, allocations: 0 / 1.488 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.6025, allocations: 1.018 MB / 1.489 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.6031, allocations: 218.9 kB / 1.489 GB, free: 9.301 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6032, allocations: 24 kB / 1.489 GB, free: 9.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.6039, allocations: 71.98 kB / 1.489 GB, free: 9.207 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.6041, allocations: 80.84 kB / 1.489 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.6041, allocations: 35.97 kB / 1.489 GB, free: 9.094 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006713/0.6048, allocations: 495 kB / 1.489 GB, free: 8.617 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6048, allocations: 0 / 1.489 GB, free: 8.617 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009472/0.6058, allocations: 327.2 kB / 1.49 GB, free: 8.297 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.004779/0.6105, allocations: 2.124 MB / 1.492 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.6127, allocations: 0.8429 MB / 1.493 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6127, allocations: 0 / 1.493 GB, free: 5.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.6138, allocations: 0.5316 MB / 1.493 GB, free: 4.957 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6152, allocations: 308.5 kB / 1.493 GB, free: 4.68 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.6274, allocations: 6.493 MB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.6279, allocations: 436 kB / 1.5 GB, free: 13.57 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000923/0.6288, allocations: 275 kB / 1.5 GB, free: 13.29 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.6294, allocations: 399.2 kB / 1.501 GB, free: 12.9 MB / 1.201 GB Notification: Performance of SimCode: time 8.81e-07/0.6294, allocations: 0 / 1.501 GB, free: 12.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06838/0.6978, allocations: 24.74 MB / 1.525 GB, free: 4.469 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.34, allocations: 4 kB / 1.525 GB, free: 4.465 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.330853345018113]