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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007371/0.007371, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002051/0.002051, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 73.06 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 162.2 MB / 1.241 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002526/0.2839, allocations: 1.455 MB / 1.243 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004164/0.2843, allocations: 184.9 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.2844, allocations: 0 / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.2844, allocations: 7.922 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.2846, allocations: 19.92 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2848, allocations: 63.78 kB / 1.243 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.285, allocations: 59.83 kB / 1.243 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.285, allocations: 8 kB / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.2851, allocations: 19.92 kB / 1.243 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.2852, allocations: 19.92 kB / 1.243 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2852, allocations: 4 kB / 1.243 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.2852, allocations: 4 kB / 1.243 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.2853, allocations: 23.97 kB / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.2853, allocations: 23.86 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2854, allocations: 52.08 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2854, allocations: 0 / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2854, allocations: 3.938 kB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2855, allocations: 0 / 1.243 GB, free: 7.348 MB / 0.9669 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.0005298/0.286, allocations: 347.3 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.286, allocations: 12.03 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.2861, allocations: 38.73 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2861, allocations: 8.938 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2863, allocations: 168.3 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.2863, allocations: 4.312 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2863, allocations: 4.375 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2865, allocations: 84.73 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2865, allocations: 3.938 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2865, allocations: 0 / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2865, allocations: 0 / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.2866, allocations: 23.98 kB / 1.244 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.287, allocations: 276.8 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.2871, allocations: 38.52 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.2871, allocations: 20.94 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2871, allocations: 0 / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.2873, allocations: 63.39 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2873, allocations: 0 / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.2875, allocations: 65.69 kB / 1.244 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.2876, allocations: 110.7 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.2877, allocations: 105.9 kB / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2877, allocations: 25.7 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2878, allocations: 92.08 kB / 1.245 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.2878, allocations: 7.953 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.2878, allocations: 29.7 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.288, allocations: 314.8 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.288, allocations: 11.94 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.2881, allocations: 34.56 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.2882, allocations: 24.86 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2882, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.2883, allocations: 65.58 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2883, allocations: 8.031 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2883, allocations: 4 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2883, allocations: 448 / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.2884, allocations: 7.984 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2884, allocations: 0 / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2885, allocations: 15.98 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2886, allocations: 0 / 1.245 GB, free: 5.102 MB / 0.9669 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 0.0001013/0.2887, allocations: 118.3 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2887, allocations: 4 kB / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.2887, allocations: 7.5 kB / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2887, allocations: 0 / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2887, allocations: 0 / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2887, allocations: 0 / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2889, allocations: 181.5 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2889, allocations: 0 / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.2889, allocations: 7.938 kB / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2889, allocations: 0 / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2889, allocations: 0 / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.289, allocations: 4 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.289, allocations: 3.938 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2891, allocations: 97.19 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.2892, allocations: 93.12 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2892, allocations: 0 / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2893, allocations: 11.98 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2894, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2894, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.2894, allocations: 91.27 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2895, allocations: 4 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002005/0.2897, allocations: 12 kB / 1.246 GB, free: 4.383 MB / 0.9669 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.0004785/0.2901, allocations: 0.6377 MB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2903, allocations: 27.98 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2903, allocations: 7.938 kB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.2903, allocations: 19.94 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2905, allocations: 6.234 kB / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2917, allocations: 1.179 MB / 1.248 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.292, allocations: 0.6807 MB / 1.248 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.292, allocations: 4 kB / 1.248 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.2921, allocations: 15.42 kB / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.2921, allocations: 0 / 1.248 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3135, allocations: 1.788 MB / 1.25 GB, free: 64 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.796, allocations: 14.31 kB / 1.25 GB, free: 52 kB / 0.9669 GB (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 400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_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! " Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:time,conTim.calTimAux,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,conTim.calTim