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.001801/0.001801, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.002337/0.002337, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.318/3.318, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002216/0.002216, allocations: 72.02 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3294, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002838/0.3323, allocations: 1.475 MB / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005118/0.3328, allocations: 187.4 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.3328, allocations: 0 / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.3329, allocations: 7.938 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.3331, allocations: 31.83 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3334, allocations: 58.98 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3335, allocations: 63.77 kB / 1.35 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3336, allocations: 11.92 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3336, allocations: 16 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.3337, allocations: 23.91 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3338, allocations: 4 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.3338, allocations: 4 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.3338, allocations: 19.86 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.3339, allocations: 23.92 kB / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.334, allocations: 47.86 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.334, allocations: 0 / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.334, allocations: 4 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.334, allocations: 0 / 1.35 GB, free: 8.047 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.0006698/0.3347, allocations: 347.4 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3347, allocations: 11.98 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3348, allocations: 38.75 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3348, allocations: 4.891 kB / 1.35 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.335, allocations: 180.2 kB / 1.35 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.335, allocations: 4.375 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.335, allocations: 8.375 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3352, allocations: 68.81 kB / 1.35 GB, free: 7.285 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3352, allocations: 7.938 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3353, allocations: 0 / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3353, allocations: 0 / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.3353, allocations: 15.98 kB / 1.35 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.3358, allocations: 280.8 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3359, allocations: 38.56 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.3359, allocations: 8.859 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.336, allocations: 7.938 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.3362, allocations: 67.42 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3362, allocations: 4 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.3364, allocations: 69.67 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.3365, allocations: 102.8 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3366, allocations: 105.8 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3366, allocations: 29.7 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.3367, allocations: 88.09 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3367, allocations: 7.953 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.3368, allocations: 25.7 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3369, allocations: 318.8 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.337, allocations: 11.98 kB / 1.351 GB, free: 5.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.337, allocations: 38.5 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.3371, allocations: 24.86 kB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3371, allocations: 0 / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/0.3372, allocations: 61.64 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3372, allocations: 8 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3372, allocations: 4.469 kB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3373, allocations: 0 / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.3373, allocations: 4 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3373, allocations: 3.938 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3375, allocations: 21.8 kB / 1.352 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3375, allocations: 0 / 1.352 GB, free: 5.801 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 0.0001098/0.3376, allocations: 121.7 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.3376, allocations: 4.188 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.3376, allocations: 15.47 kB / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3376, allocations: 0 / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3376, allocations: 0 / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3376, allocations: 0 / 1.352 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3378, allocations: 173.6 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3378, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.3378, allocations: 7.984 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3378, allocations: 0 / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3379, allocations: 0 / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3379, allocations: 7.938 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3379, allocations: 0 / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.338, allocations: 100.9 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.3381, allocations: 85.11 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3381, allocations: 3.984 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3382, allocations: 4 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3382, allocations: 7.984 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3383, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.3383, allocations: 87.28 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3383, allocations: 4 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001958/0.3385, allocations: 11.98 kB / 1.352 GB, free: 5.074 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.0005316/0.3391, allocations: 0.6319 MB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.3392, allocations: 31.92 kB / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3392, allocations: 0 / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3392, allocations: 16 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3394, allocations: 5.016 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3407, allocations: 1.183 MB / 1.354 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.341, allocations: 0.6806 MB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.926e-05/0.3411, allocations: 8 kB / 1.355 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.3411, allocations: 7.438 kB / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3411, allocations: 0 / 1.355 GB, free: 2.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.3685, allocations: 1.808 MB / 1.356 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.671, allocations: 0 / 1.356 GB, free: 0.7539 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.533911700127646]