Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001604/0.001604, 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.001641/0.001641, allocations: 210.5 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_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.002201/0.002201, allocations: 64.92 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3505, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003479/0.354, allocations: 1.484 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006122/0.3546, allocations: 177.3 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.3547, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.3547, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.3549, allocations: 19.86 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3553, allocations: 63.86 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3554, allocations: 59.77 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3555, allocations: 8 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.3556, allocations: 19.98 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.3556, allocations: 23.89 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.3557, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.3557, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3557, allocations: 11.94 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.3558, allocations: 19.92 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3559, allocations: 51.38 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3559, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3559, allocations: 4 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3559, allocations: 3.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 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.0006498/0.3566, allocations: 272.2 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3566, allocations: 8.031 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.3567, allocations: 42.75 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3567, allocations: 4.891 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3568, allocations: 110.5 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3569, allocations: 4.375 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3569, allocations: 8.359 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3571, allocations: 124.2 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3571, allocations: 11.88 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3571, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3571, allocations: 3.984 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.3572, allocations: 20 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.3576, allocations: 232 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3577, allocations: 38.5 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.3577, allocations: 12.86 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3577, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3579, allocations: 71.44 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3579, allocations: 7.938 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002324/0.3582, allocations: 73.67 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.3582, allocations: 106.8 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3583, allocations: 105.8 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3584, allocations: 25.7 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.3584, allocations: 88.14 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3584, allocations: 11.89 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.3585, allocations: 29.64 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.3588, allocations: 318.8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.3588, allocations: 15.98 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.3589, allocations: 81.98 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.3589, allocations: 29.22 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3589, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001812/0.3591, allocations: 65.62 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3591, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3591, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3591, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.3592, allocations: 12 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3593, allocations: 11.92 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3593, allocations: 32 / 1.286 GB, free: 8.34 MB / 0.9825 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.87e-05/0.3594, allocations: 121.8 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.3594, allocations: 7.953 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3595, allocations: 7.672 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3595, allocations: 0 / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3595, allocations: 4 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3595, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3597, allocations: 136.7 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3597, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3597, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3597, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3597, allocations: 4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3597, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3597, allocations: 3.984 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.36, allocations: 97.17 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.36, allocations: 11.94 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.36, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3601, allocations: 11.98 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3602, allocations: 3.984 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3602, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.3602, allocations: 91.34 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001937/0.3604, allocations: 11.94 kB / 1.287 GB, free: 7.754 MB / 0.9825 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.0006242/0.3611, allocations: 0.6357 MB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.3612, allocations: 23.98 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3612, allocations: 0 / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.3612, allocations: 23.92 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.3614, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3626, allocations: 1.167 MB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.3627, allocations: 71.34 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.3627, allocations: 4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3628, allocations: 15.42 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3628, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.4017, allocations: 2.351 MB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 7.312 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.76012893114239]