Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001659/0.001659, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001998/0.001998, allocations: 218.7 kB / 22.25 MB, free: 5.184 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8 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.169/3.169, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_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.001927/0.001927, allocations: 68.25 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002652/0.3699, allocations: 1.493 MB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004407/0.3704, allocations: 183.4 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.3704, allocations: 7.938 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.3704, allocations: 3.938 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3707, allocations: 19.92 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3708, allocations: 51.86 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.371, allocations: 59.83 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.371, allocations: 19.94 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.3711, allocations: 23.92 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3712, allocations: 19.92 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3712, allocations: 4 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.3712, allocations: 4 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.3713, allocations: 19.97 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3713, allocations: 15.92 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3714, allocations: 55.8 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3714, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3714, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3714, allocations: 4 kB / 1.328 GB, free: 0 / 1.014 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.0005551/0.372, allocations: 270.3 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.372, allocations: 12.03 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.3721, allocations: 34.73 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3721, allocations: 8.891 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3722, allocations: 118.4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3723, allocations: 4.375 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.3723, allocations: 384 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3724, allocations: 80.75 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3724, allocations: 3.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3724, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3725, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.3725, allocations: 23.98 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3729, allocations: 239.9 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.373, allocations: 46.5 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.373, allocations: 12.86 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.3731, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3732, allocations: 59.48 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3732, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.3734, allocations: 73.61 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.3736, allocations: 110.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3737, allocations: 109.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3737, allocations: 29.64 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.3738, allocations: 80.14 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3738, allocations: 15.91 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.3738, allocations: 21.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.374, allocations: 322.8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.374, allocations: 8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.3741, allocations: 38.94 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.3742, allocations: 28.86 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3742, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.3743, allocations: 61.62 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3743, allocations: 5.562 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3743, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3743, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.3744, allocations: 8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3744, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3745, allocations: 21.88 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3745, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 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.0001096/0.3746, allocations: 121.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.3746, allocations: 3.984 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.3746, allocations: 7.688 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3746, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3747, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3747, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.3748, allocations: 144.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3748, allocations: 7.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.3748, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3748, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3748, allocations: 192 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3749, allocations: 3.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3749, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.375, allocations: 97.03 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.375, allocations: 7.953 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3751, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.3752, allocations: 8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3752, allocations: 12.05 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3752, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3753, allocations: 87.27 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3753, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000197/0.3755, allocations: 12 kB / 1.33 GB, free: 13.36 MB / 1.029 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.0004994/0.376, allocations: 0.6319 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3761, allocations: 31.92 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3761, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.3761, allocations: 15.94 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.3763, allocations: 5.688 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3775, allocations: 1.171 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3778, allocations: 0.6807 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.941e-05/0.3778, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.3779, allocations: 15.44 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3779, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.4061, allocations: 1.881 MB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.73, allocations: 9.766 kB / 1.334 GB, free: 8.922 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.616982400999404]