Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001505/0.001505, 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.001477/0.001477, allocations: 212.6 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.781 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.381/3.381, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.002663/0.002663, allocations: 69.22 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3754, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.0031/0.3785, allocations: 1.471 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.379, allocations: 191.5 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.379, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.379, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.3793, allocations: 19.84 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3795, allocations: 61.36 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3796, allocations: 59.78 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.3797, allocations: 7.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.3798, allocations: 19.98 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.3799, allocations: 19.91 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3799, allocations: 8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3799, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.38, allocations: 19.92 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.38, allocations: 19.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3801, allocations: 43.86 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3801, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3801, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3801, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 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.0005526/0.3807, allocations: 278.2 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3807, allocations: 8.031 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.3808, allocations: 46.67 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.3808, allocations: 0.9375 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3809, allocations: 118.4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.381, allocations: 4.375 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.381, allocations: 4.375 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3812, allocations: 132.2 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3812, allocations: 3.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3812, allocations: 3.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.3812, allocations: 0 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.987e-05/0.3813, allocations: 19.98 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3817, allocations: 236 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3818, allocations: 42.56 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.3818, allocations: 16.8 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3818, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.382, allocations: 59.48 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.382, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.3822, allocations: 81.62 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.3823, allocations: 102.8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.3824, allocations: 109.8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3824, allocations: 25.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.3825, allocations: 88.14 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3825, allocations: 7.953 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.3826, allocations: 29.66 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3827, allocations: 314.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.3827, allocations: 12 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.3828, allocations: 85.97 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.3829, allocations: 32.78 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3829, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.383, allocations: 57.64 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.383, allocations: 7.984 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.383, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.383, allocations: 4.469 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.3831, allocations: 8 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3831, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3832, allocations: 15.92 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3832, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 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.0001075/0.3833, allocations: 117.8 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3833, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.3834, allocations: 7.688 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3834, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3834, allocations: 11.98 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3834, allocations: 3.938 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3835, allocations: 136.6 kB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3835, allocations: 0 / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.3836, allocations: 4 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3836, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3836, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3836, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3836, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3837, allocations: 97.17 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.3838, allocations: 12.03 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3838, allocations: 7.984 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3839, allocations: 11.98 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3839, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3839, allocations: 7.984 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.384, allocations: 83.28 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.384, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002037/0.3842, allocations: 15.95 kB / 1.368 GB, free: 9.316 MB / 1.061 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.0004978/0.3847, allocations: 0.628 MB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.3848, allocations: 27.98 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3848, allocations: 4 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.3849, allocations: 12 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.385, allocations: 11.92 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3863, allocations: 1.174 MB / 1.369 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.3863, allocations: 63.34 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.3864, allocations: 4 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3864, allocations: 19.42 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3864, allocations: 0 / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.4175, allocations: 2.359 MB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.45, allocations: 14.91 kB / 1.372 GB, free: 5.055 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.460377317853272]