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.001817/0.001817, allocations: 107.1 kB / 16.45 MB, free: 6.5 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.002312/0.002312, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.753/2.753, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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.002028/0.002028, allocations: 71.08 kB / 1.112 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 169.9 MB / 1.278 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002621/0.36, allocations: 1.467 MB / 1.28 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004307/0.3604, allocations: 195.3 kB / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.3605, allocations: 4 kB / 1.28 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.3605, allocations: 3.938 kB / 1.28 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.3607, allocations: 27.86 kB / 1.28 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3609, allocations: 56.03 kB / 1.28 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.361, allocations: 55.78 kB / 1.28 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.3611, allocations: 15.92 kB / 1.28 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.3612, allocations: 16 kB / 1.28 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.3612, allocations: 23.89 kB / 1.28 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3613, allocations: 4 kB / 1.28 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3613, allocations: 8 kB / 1.28 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.3613, allocations: 19.92 kB / 1.28 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.3613, allocations: 23.81 kB / 1.28 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3614, allocations: 43.86 kB / 1.28 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3615, allocations: 4 kB / 1.28 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3615, allocations: 0 / 1.28 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3615, allocations: 0 / 1.28 GB, free: 3.266 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.0005575/0.362, allocations: 351.4 kB / 1.281 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3621, allocations: 8.031 kB / 1.281 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3621, allocations: 38.75 kB / 1.281 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3621, allocations: 8.891 kB / 1.281 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3623, allocations: 172.3 kB / 1.281 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3623, allocations: 384 / 1.281 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3623, allocations: 4.375 kB / 1.281 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3625, allocations: 76.75 kB / 1.281 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3625, allocations: 7.938 kB / 1.281 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3625, allocations: 0 / 1.281 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3625, allocations: 8 kB / 1.281 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.3625, allocations: 15.98 kB / 1.281 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3629, allocations: 272.9 kB / 1.281 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.363, allocations: 38.5 kB / 1.281 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.3631, allocations: 12.86 kB / 1.281 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3631, allocations: 3.938 kB / 1.281 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3632, allocations: 71.47 kB / 1.281 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3632, allocations: 0 / 1.281 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.3634, allocations: 73.61 kB / 1.281 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.3635, allocations: 106.8 kB / 1.281 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3636, allocations: 105.8 kB / 1.282 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3636, allocations: 25.7 kB / 1.282 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3637, allocations: 89.41 kB / 1.282 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3637, allocations: 15.91 kB / 1.282 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3637, allocations: 21.7 kB / 1.282 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3639, allocations: 322.8 kB / 1.282 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.3639, allocations: 11.98 kB / 1.282 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.364, allocations: 30.56 kB / 1.282 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.364, allocations: 24.86 kB / 1.282 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.364, allocations: 0 / 1.282 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001119/0.3641, allocations: 65.66 kB / 1.282 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3641, allocations: 4 kB / 1.282 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3641, allocations: 0 / 1.282 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3642, allocations: 4 kB / 1.282 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.3642, allocations: 4 kB / 1.282 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3642, allocations: 0 / 1.282 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3643, allocations: 20.3 kB / 1.282 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3643, allocations: 4 kB / 1.282 GB, free: 1.02 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.443e-05/0.3644, allocations: 124 kB / 1.282 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3645, allocations: 3.953 kB / 1.282 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3645, allocations: 7.484 kB / 1.282 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3645, allocations: 8 kB / 1.282 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3645, allocations: 0 / 1.282 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3645, allocations: 0 / 1.282 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3646, allocations: 169.6 kB / 1.282 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3646, allocations: 3.984 kB / 1.282 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.3647, allocations: 7.938 kB / 1.282 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3647, allocations: 0 / 1.282 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3647, allocations: 0 / 1.282 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3647, allocations: 11.92 kB / 1.282 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3647, allocations: 0 / 1.282 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3648, allocations: 93.05 kB / 1.283 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.3649, allocations: 81.06 kB / 1.283 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3649, allocations: 11.98 kB / 1.283 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.365, allocations: 4 kB / 1.283 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3651, allocations: 7.984 kB / 1.283 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3651, allocations: 4 kB / 1.283 GB, free: 400 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.3651, allocations: 87.27 kB / 1.283 GB, free: 312 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3651, allocations: 0 / 1.283 GB, free: 312 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001917/0.3653, allocations: 12 kB / 1.283 GB, free: 300 kB / 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.0004971/0.3658, allocations: 0.6324 MB / 1.283 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.3659, allocations: 27.98 kB / 1.283 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3659, allocations: 0 / 1.283 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.366, allocations: 16.22 kB / 1.283 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3661, allocations: 8 kB / 1.283 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3673, allocations: 1.18 MB / 1.285 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3676, allocations: 0.6806 MB / 1.285 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.3677, allocations: 4 kB / 1.285 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.3677, allocations: 15.44 kB / 1.285 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3677, allocations: 0 / 1.285 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.3917, allocations: 1.803 MB / 1.287 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.407, allocations: 14.98 kB / 1.287 GB, free: 11.96 MB / 0.9981 GB " [Timeout remaining time 292] (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: 14.868378312094137]