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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006249/0.006249, allocations: 98.3 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6769, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002425/0.6794, allocations: 1.456 MB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003973/0.6798, allocations: 187.4 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.6799, allocations: 0 / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.6799, allocations: 4 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.6801, allocations: 23.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.6803, allocations: 56.98 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.6804, allocations: 59.83 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.6805, allocations: 11.98 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.6805, allocations: 23.92 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.6806, allocations: 19.92 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.6806, allocations: 4 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.6807, allocations: 4 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.6807, allocations: 19.91 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.6808, allocations: 19.92 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.6809, allocations: 55.59 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6809, allocations: 0 / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6809, allocations: 4 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6809, allocations: 0 / 1.222 GB, free: 84 kB / 0.9356 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.0005244/0.6814, allocations: 355.2 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6815, allocations: 12.62 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.6815, allocations: 38.69 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.6815, allocations: 0.9375 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6817, allocations: 172.3 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6817, allocations: 4.375 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.6817, allocations: 384 / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.6819, allocations: 80.81 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6819, allocations: 3.938 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6819, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6819, allocations: 3.984 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.682, allocations: 15.94 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.6823, allocations: 276.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.6824, allocations: 38.58 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.6825, allocations: 16.94 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.6825, allocations: 3.938 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.6826, allocations: 63.39 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.6827, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002042/0.6829, allocations: 77.62 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.6829, allocations: 110.8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.683, allocations: 101.9 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.6831, allocations: 33.64 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.6831, allocations: 88.06 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.6831, allocations: 7.953 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.6832, allocations: 21.7 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6833, allocations: 322.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.6834, allocations: 12 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.6834, allocations: 30.56 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.6835, allocations: 24.86 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6835, allocations: 384 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.6836, allocations: 69.64 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6836, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6836, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.6836, allocations: 7.938 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.6837, allocations: 7.984 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.6837, allocations: 4.031 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.6838, allocations: 7.984 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.6839, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 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.126e-05/0.684, allocations: 117.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.684, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.684, allocations: 3.5 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.684, allocations: 4 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.684, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.684, allocations: 4 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6842, allocations: 181.5 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6842, allocations: 192 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.6842, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6842, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6842, allocations: 3.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6842, allocations: 3.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6842, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.6844, allocations: 93 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.6845, allocations: 93.09 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.6845, allocations: 0 / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6846, allocations: 7.984 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6846, allocations: 7.984 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.6847, allocations: 3.938 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.6847, allocations: 87.34 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6847, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002011/0.6849, allocations: 15.94 kB / 1.225 GB, free: 13.12 MB / 0.9512 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.0004504/0.6854, allocations: 0.644 MB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.6855, allocations: 27.98 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6855, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.6856, allocations: 19.98 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.6857, allocations: 2.438 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.6868, allocations: 1.177 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.6871, allocations: 0.6872 MB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.6871, allocations: 4 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.6872, allocations: 15.42 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6872, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.709, allocations: 1.8 MB / 1.229 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.41, allocations: 11.59 kB / 1.229 GB, free: 8.785 MB / 0.9512 GB (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 50 --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) 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) "Warning: Resultfile and Reference have different end time points! Reffile[505]=126144000.000000 File[2]=47192200.000000 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! " Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:time,conTim.calTimAux,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,conTim.calTim