Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007989/0.0007989, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008318/0.0008318, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8565/0.8565, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.727e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002163/0.00219, allocations: 1.482 MB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.002602, allocations: 183.3 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.002668, allocations: 0 / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.002703, allocations: 0 / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.002985, allocations: 19.84 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.003191, allocations: 63.55 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.003291, allocations: 55.84 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003393, allocations: 19.92 kB / 0.9828 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.003468, allocations: 31.97 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.003546, allocations: 15.97 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.003573, allocations: 8 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.003586, allocations: 7.938 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.003611, allocations: 19.97 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.003656, allocations: 8 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003775, allocations: 67.77 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.003779, allocations: 0 / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003781, allocations: 0 / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.003787, allocations: 4 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 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.0005319/0.004319, allocations: 282.3 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.00437, allocations: 8.031 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.004415, allocations: 34.69 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.004459, allocations: 8.938 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.00457, allocations: 113.8 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.004585, allocations: 4.375 kB / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.0046, allocations: 384 / 0.9833 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.004775, allocations: 136.2 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004783, allocations: 192 / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.004796, allocations: 4.375 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004803, allocations: 4.125 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.004851, allocations: 23.86 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.005251, allocations: 247.9 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.005361, allocations: 42.56 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.005389, allocations: 16.8 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.005398, allocations: 4 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.005616, allocations: 67.42 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.005618, allocations: 0 / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002043/0.005822, allocations: 85.62 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.005891, allocations: 106.8 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.005971, allocations: 105.8 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.005994, allocations: 29.64 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.006046, allocations: 88.14 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.006067, allocations: 7.906 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.006107, allocations: 33.64 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006217, allocations: 314.8 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.006245, allocations: 12 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.006311, allocations: 93.97 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.867e-05/0.00637, allocations: 33.03 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.006372, allocations: 4 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.632e-05/0.006468, allocations: 77.64 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.006484, allocations: 8 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.00649, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.006506, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.006594, allocations: 11.92 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.0066, allocations: 4 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.006674, allocations: 12.42 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.006682, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 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 8.191e-05/0.006764, allocations: 121.8 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.006776, allocations: 3.938 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.0068, allocations: 11.81 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.006805, allocations: 7.984 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.006812, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006815, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006925, allocations: 136.7 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006926, allocations: 0 / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.006945, allocations: 4 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006948, allocations: 0 / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.006956, allocations: 3.938 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.006958, allocations: 8 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.00696, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007075, allocations: 104.9 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.007114, allocations: 4 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.007132, allocations: 7.984 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.007186, allocations: 8 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.00722, allocations: 3.984 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.007227, allocations: 4 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.007266, allocations: 91.2 kB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007266, allocations: 0 / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001489/0.007415, allocations: 16 kB / 0.9854 GB, free: 13.76 MB / 0.948 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.0003506/0.007765, allocations: 0.6399 MB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.007883, allocations: 32.06 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.007885, allocations: 0 / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.007919, allocations: 19.92 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.008065, allocations: 10.23 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.009007, allocations: 1.215 MB / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.009053, allocations: 71.28 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.009092, allocations: 8 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.009133, allocations: 16.5 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/0.009134, allocations: 0 / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.02799, allocations: 2.549 MB / 0.9898 GB, free: 9.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.879, allocations: 11.52 kB / 0.9898 GB, free: 9.262 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.048262728378177]