Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_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.001047/0.001047, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.318/2.318, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 55.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4866, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002395/0.489, allocations: 1.462 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003633/0.4894, allocations: 187.4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.4894, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.4894, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.4896, allocations: 27.84 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.4898, allocations: 51.86 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.4899, allocations: 59.78 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.49, allocations: 12 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.49, allocations: 23.97 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.4901, allocations: 19.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4901, allocations: 4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.4901, allocations: 4 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.4902, allocations: 15.92 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.4902, allocations: 23.92 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.4903, allocations: 46.11 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4903, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4903, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.4903, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 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.0004242/0.4907, allocations: 360.6 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.4908, allocations: 8.031 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.4908, allocations: 30.75 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.4909, allocations: 8.844 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.491, allocations: 172.3 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.491, allocations: 384 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.491, allocations: 8.312 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4911, allocations: 72.81 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4911, allocations: 7.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4912, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4912, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.4912, allocations: 15.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.4915, allocations: 288.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.192e-05/0.4916, allocations: 30.58 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.4917, allocations: 24.94 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.4917, allocations: 3.984 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.4918, allocations: 67.33 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4918, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.492, allocations: 69.67 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4921, allocations: 102.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.4921, allocations: 105.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4921, allocations: 37.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.4922, allocations: 88.03 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4922, allocations: 3.906 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4923, allocations: 25.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.4923, allocations: 318.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.4924, allocations: 12 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.4924, allocations: 34.88 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.4925, allocations: 32.89 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4925, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.18e-05/0.4926, allocations: 61.69 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4926, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4926, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.4926, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.4927, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4927, allocations: 7.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4928, allocations: 13.61 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-06/0.4928, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 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 6.96e-05/0.4929, allocations: 117.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.4929, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.4929, allocations: 3.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4929, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.493, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.493, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4931, allocations: 173.6 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4931, allocations: 4 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.4931, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4931, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4931, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4931, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4931, allocations: 3.984 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4932, allocations: 89 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.4933, allocations: 96.94 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4933, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4935, allocations: 23.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.4935, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4935, allocations: 7.984 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.4935, allocations: 83.28 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4935, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000182/0.4937, allocations: 8 kB / 1.022 GB, free: 13.58 MB / 0.7794 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.0003276/0.4941, allocations: 0.632 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.4942, allocations: 36.2 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4942, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.4942, allocations: 15.98 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.4944, allocations: 4.094 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.4952, allocations: 1.174 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4954, allocations: 0.6846 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.4954, allocations: 4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.4955, allocations: 11.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4955, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.5095, allocations: 1.763 MB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/7.009, allocations: 14.44 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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[4]=47192200.000000 Error: Could not read variable conTim.modTim in file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_10_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