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.00137/0.00137, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001564/0.001564, allocations: 212.2 kB / 22.25 MB, free: 5.082 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8.031 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.348/3.348, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.002071/0.002071, allocations: 72.28 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002784/0.3971, allocations: 1.48 MB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004656/0.3976, allocations: 198 kB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.3976, allocations: 0 / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3976, allocations: 3.938 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.3979, allocations: 19.86 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.3981, allocations: 59.89 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3982, allocations: 59.8 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.3983, allocations: 11.92 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.3984, allocations: 27.92 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.3985, allocations: 23.91 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3985, allocations: 4 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3985, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.3985, allocations: 15.92 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.3986, allocations: 15.94 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3987, allocations: 47.86 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3987, allocations: 4 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3987, allocations: 0 / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3987, allocations: 0 / 1.355 GB, free: 6.531 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.0005357/0.3992, allocations: 274.3 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3993, allocations: 12.03 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3993, allocations: 30.75 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3994, allocations: 8.891 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3995, allocations: 118.5 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3995, allocations: 4.375 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3995, allocations: 8.312 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3997, allocations: 72.81 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3997, allocations: 3.938 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3997, allocations: 0 / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3997, allocations: 8 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.3998, allocations: 15.94 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.4001, allocations: 255.9 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4003, allocations: 30.58 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.4003, allocations: 16.94 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.4003, allocations: 0 / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.4005, allocations: 63.39 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 3.226e-06/0.4005, allocations: 7.938 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.4007, allocations: 81.59 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.4008, allocations: 102.8 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.4009, allocations: 105.8 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4009, allocations: 25.7 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.4009, allocations: 96.08 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.4009, allocations: 3.953 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.401, allocations: 21.7 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4011, allocations: 326.8 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.4012, allocations: 4 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.4012, allocations: 38.56 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.4013, allocations: 28.78 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4013, allocations: 0 / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.726e-05/0.4014, allocations: 57.66 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4014, allocations: 4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4014, allocations: 4 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4014, allocations: 3.984 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.4015, allocations: 8.031 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4015, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.4016, allocations: 15.92 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4016, allocations: 4 kB / 1.357 GB, free: 4.477 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 9.626e-05/0.4017, allocations: 122.8 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.4017, allocations: 4 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.4017, allocations: 7.688 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4017, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4017, allocations: 4 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4017, allocations: 7.984 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4019, allocations: 140.7 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4019, allocations: 0 / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.4019, allocations: 4 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4019, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4019, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4019, allocations: 3.984 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4019, allocations: 4 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.402, allocations: 96.95 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.4021, allocations: 11.92 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4021, allocations: 4 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4022, allocations: 7.984 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4022, allocations: 11.92 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4023, allocations: 0 / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.4023, allocations: 87.28 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001867/0.4025, allocations: 8 kB / 1.357 GB, free: 3.891 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.0004738/0.403, allocations: 0.6319 MB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.4031, allocations: 31.92 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4031, allocations: 0 / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.4031, allocations: 11.98 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.4033, allocations: 12 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4045, allocations: 1.161 MB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4048, allocations: 0.6824 MB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.4048, allocations: 12.06 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.4049, allocations: 15.44 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4049, allocations: 0 / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.4335, allocations: 1.88 MB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.91, allocations: 5.609 kB / 1.361 GB, free: 15.45 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.0649360540001]