Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001912/0.001912, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.00245/0.00245, allocations: 210.4 kB / 19.43 MB, free: 3.637 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 2.172/2.172, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.461/3.461, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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: 68.08 kB / 1.172 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 180.2 MB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003531/0.3696, allocations: 1.479 MB / 1.349 GB, free: 8.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000572/0.3702, allocations: 187.4 kB / 1.349 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.3702, allocations: 4 kB / 1.349 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.3703, allocations: 7.922 kB / 1.349 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.3705, allocations: 19.86 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.3708, allocations: 58.91 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3709, allocations: 59.78 kB / 1.35 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.371, allocations: 7.938 kB / 1.35 GB, free: 8.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.371, allocations: 23.97 kB / 1.35 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.3711, allocations: 23.92 kB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3711, allocations: 4 kB / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.3712, allocations: 4 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3712, allocations: 15.86 kB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.3712, allocations: 23.91 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3714, allocations: 51.86 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3714, allocations: 4 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3714, allocations: 0 / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3714, allocations: 0 / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000685/0.3721, allocations: 344.9 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.3722, allocations: 11.98 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.3722, allocations: 42.73 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.3723, allocations: 4.891 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3725, allocations: 168.3 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3725, allocations: 4.375 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3725, allocations: 8.375 kB / 1.35 GB, free: 7.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3727, allocations: 76.75 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3727, allocations: 3.938 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3727, allocations: 0 / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3727, allocations: 0 / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.3728, allocations: 15.98 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.3733, allocations: 276.9 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3734, allocations: 46.48 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.3734, allocations: 24.88 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3734, allocations: 0 / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.3737, allocations: 59.39 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3737, allocations: 7.938 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002577/0.3739, allocations: 69.62 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.374, allocations: 106.8 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.3741, allocations: 105.9 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3741, allocations: 25.7 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.3742, allocations: 92.08 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.3742, allocations: 7.953 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3743, allocations: 21.72 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3744, allocations: 322.8 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.3745, allocations: 8 kB / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.3745, allocations: 34.94 kB / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.3746, allocations: 28.86 kB / 1.352 GB, free: 5.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3746, allocations: 0 / 1.352 GB, free: 5.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.3747, allocations: 65.58 kB / 1.352 GB, free: 5.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3747, allocations: 8 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3747, allocations: 0 / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3747, allocations: 32 / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.3748, allocations: 11.98 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3748, allocations: 0 / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3749, allocations: 11.94 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.375, allocations: 7.969 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3751, allocations: 117.8 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3751, allocations: 4 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.3751, allocations: 3.5 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3751, allocations: 0 / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3751, allocations: 4 kB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3751, allocations: 0 / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3753, allocations: 173.6 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3753, allocations: 3.938 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.3753, allocations: 4 kB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3753, allocations: 0 / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3753, allocations: 0 / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3753, allocations: 4 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3753, allocations: 0 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3754, allocations: 100.9 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.3755, allocations: 89.09 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3755, allocations: 0 / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3756, allocations: 9.953 kB / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.3757, allocations: 8 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3757, allocations: 4 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.3757, allocations: 91.27 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3757, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001948/0.3759, allocations: 12 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004885/0.3764, allocations: 0.6399 MB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3765, allocations: 27.98 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3766, allocations: 0 / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.3766, allocations: 15.94 kB / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3768, allocations: 8 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3781, allocations: 1.172 MB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3784, allocations: 0.6807 MB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.3784, allocations: 4 kB / 1.355 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.3784, allocations: 11.44 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of SimCode: time 3.8e-07/0.3784, allocations: 0 / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.4019, allocations: 1.791 MB / 1.356 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.328, allocations: 10.86 kB / 1.356 GB, free: 0.8125 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conTim.modTim in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.454415103886276]