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.001129/0.001129, 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.001262/0.001262, 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.8672/0.8672, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.303e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001828/0.001851, allocations: 1.473 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.002185, allocations: 180 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.002221, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.002249, allocations: 3.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.002455, allocations: 27.86 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.002613, allocations: 66.39 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.002699, allocations: 63.78 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.002782, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.002846, allocations: 39.95 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.002917, allocations: 19.92 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.002943, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.002953, allocations: 4 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.002973, allocations: 11.98 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.003009, allocations: 23.91 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.003104, allocations: 63.78 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003106, allocations: 4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003107, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.00311, allocations: 0 / 1.002 GB, free: 11.5 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.0004188/0.003529, allocations: 278.3 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003566, allocations: 9.344 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.003597, allocations: 38.75 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.003625, allocations: 4.891 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.003705, allocations: 113.7 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.003717, allocations: 8.375 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.003728, allocations: 12.36 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.003866, allocations: 128.2 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003873, allocations: 192 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003882, allocations: 384 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003887, allocations: 4.125 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.00393, allocations: 23.98 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.004257, allocations: 247.8 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.004345, allocations: 42.56 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.004372, allocations: 28.88 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.00438, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.004512, allocations: 71.27 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.004513, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001601/0.004673, allocations: 81.62 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.004719, allocations: 102.8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.004774, allocations: 105.8 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.004786, allocations: 29.7 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.004824, allocations: 88.09 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.004842, allocations: 15.94 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.004872, allocations: 17.72 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.004945, allocations: 326.8 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.004968, allocations: 12 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.005018, allocations: 89.91 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.005065, allocations: 40.98 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005067, allocations: 0 / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.649e-05/0.005143, allocations: 73.66 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.005155, allocations: 7.984 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005159, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.005169, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.005218, allocations: 8 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.005225, allocations: 3.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.005282, allocations: 19.95 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.005289, allocations: 4 kB / 1.004 GB, free: 9.25 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 5.943e-05/0.005349, allocations: 109.8 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.005359, allocations: 11.89 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.005376, allocations: 11.8 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005378, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.005382, allocations: 0.5 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005384, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.005461, allocations: 136.7 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.005463, allocations: 12 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-06/0.005472, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005473, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005479, allocations: 4 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.00548, allocations: 0 / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005481, allocations: 3.984 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.17e-05/0.005563, allocations: 100.9 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.005589, allocations: 11.94 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.005603, allocations: 4 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.005646, allocations: 7.984 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.005673, allocations: 8 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.005679, allocations: 7.922 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.005708, allocations: 83.28 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005708, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00013/0.005838, allocations: 12 kB / 1.004 GB, free: 8.66 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.0002495/0.006088, allocations: 0.6358 MB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.006178, allocations: 39.92 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00618, allocations: 0 / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.006205, allocations: 12 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.006312, allocations: 8.609 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.007069, allocations: 1.224 MB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.007109, allocations: 63.34 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.007136, allocations: 7.938 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.007172, allocations: 16.48 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.007173, allocations: 0 / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.02935, allocations: 2.555 MB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.173, allocations: 10.55 kB / 1.009 GB, free: 4.18 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.302877723239362]