Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001149/0.001149, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001373/0.001373, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.828/1.828, allocations: 389.5 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.674e-05, allocations: 6.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001966/0.001992, allocations: 1.475 MB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003661/0.002358, allocations: 188 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.002397, allocations: 3.938 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.002423, allocations: 3.938 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.002644, allocations: 19.92 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002798, allocations: 54.36 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.002893, allocations: 67.77 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.002991, allocations: 4 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.00306, allocations: 39.89 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.00314, allocations: 23.91 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.00316, allocations: 4 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.003172, allocations: 8 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.003191, allocations: 4 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.003234, allocations: 31.91 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003335, allocations: 55.84 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.003339, allocations: 3.984 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00334, allocations: 0 / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003344, allocations: 0 / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004339/0.003778, allocations: 274.3 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.003821, allocations: 12.75 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.003856, allocations: 38.73 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.003887, allocations: 8.891 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.003976, allocations: 109.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003988, allocations: 384 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.003999, allocations: 8.375 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004138, allocations: 132.1 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004146, allocations: 192 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004158, allocations: 8.359 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004164, allocations: 4.125 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.004206, allocations: 16 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.004555, allocations: 247.9 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.004652, allocations: 50.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.00468, allocations: 20.8 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.004686, allocations: 0 / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.004832, allocations: 63.48 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.004833, allocations: 0 / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001801/0.005014, allocations: 85.8 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.005062, allocations: 106.8 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.005121, allocations: 105.9 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.005136, allocations: 29.69 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.005171, allocations: 88.03 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.005189, allocations: 11.95 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.005223, allocations: 29.7 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.005378, allocations: 318.8 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.005405, allocations: 15.98 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.005457, allocations: 89.97 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.005504, allocations: 28.86 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005506, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.509e-05/0.005591, allocations: 81.58 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.005604, allocations: 8 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005609, allocations: 3.984 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00562, allocations: 0 / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.005675, allocations: 4.031 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.005682, allocations: 7.984 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.005738, allocations: 12 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.005745, allocations: 0 / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 6.635e-05/0.005812, allocations: 117.8 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005826, allocations: 11.89 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.005846, allocations: 3.812 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005848, allocations: 0 / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.005852, allocations: 7.875 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005856, allocations: 4 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.005942, allocations: 140.7 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.005945, allocations: 3.984 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.005957, allocations: 4 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005959, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005965, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005966, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005967, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.546e-05/0.006062, allocations: 93.38 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.006096, allocations: 19.94 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.006112, allocations: 4 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.006157, allocations: 15.98 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.006188, allocations: 3.984 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006193, allocations: 0 / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.006227, allocations: 87.28 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006227, allocations: 3.938 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001274/0.006354, allocations: 16 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002851/0.006639, allocations: 0.6241 MB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.006746, allocations: 47.92 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006748, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.006781, allocations: 23.92 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.006905, allocations: 4 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.007802, allocations: 1.215 MB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.00784, allocations: 71.28 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.007873, allocations: 7.984 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.00791, allocations: 12.5 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.007911, allocations: 4 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/0.08611, allocations: 2.554 MB / 1.01 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.198, allocations: 2.906 kB / 1.01 GB, free: 4.195 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.942448421381414]