Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004214/0.004214, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001219/0.001219, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.16 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2821, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002546/0.2847, allocations: 1.451 MB / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.2851, allocations: 192.8 kB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.2852, allocations: 0 / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.2852, allocations: 3.938 kB / 1.243 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.2854, allocations: 23.91 kB / 1.243 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.2856, allocations: 55.86 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2857, allocations: 55.84 kB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.2858, allocations: 4 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.2859, allocations: 27.91 kB / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.2859, allocations: 23.92 kB / 1.243 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.286, allocations: 4 kB / 1.243 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.286, allocations: 4 kB / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.286, allocations: 11.98 kB / 1.243 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.2861, allocations: 23.91 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2862, allocations: 52.03 kB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2862, allocations: 7.938 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2862, allocations: 0 / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2862, allocations: 0 / 1.243 GB, free: 7.371 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.0005605/0.2868, allocations: 351.3 kB / 1.244 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2868, allocations: 8.031 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.2869, allocations: 42.69 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2869, allocations: 8.938 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2871, allocations: 172.3 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2871, allocations: 4.359 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2871, allocations: 8.375 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2872, allocations: 76.75 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2873, allocations: 3.938 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2873, allocations: 0 / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2873, allocations: 0 / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.2874, allocations: 16 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.2877, allocations: 276.8 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2878, allocations: 42.5 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.2879, allocations: 16.86 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.2879, allocations: 0 / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.288, allocations: 63.48 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.288, allocations: 0 / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002075/0.2883, allocations: 77.61 kB / 1.244 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.2883, allocations: 106.8 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.2884, allocations: 105.8 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2885, allocations: 25.7 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.2885, allocations: 84.09 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2885, allocations: 11.95 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.2886, allocations: 25.7 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2887, allocations: 318.8 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.2888, allocations: 11.98 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.2888, allocations: 30.58 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.2889, allocations: 28.84 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2889, allocations: 0 / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001196/0.289, allocations: 62.03 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2891, allocations: 15.95 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2891, allocations: 4 kB / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2891, allocations: 4 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.2892, allocations: 4.188 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2892, allocations: 0 / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2893, allocations: 7.984 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2893, allocations: 7.984 kB / 1.245 GB, free: 5.121 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 9.615e-05/0.2894, allocations: 117.8 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2894, allocations: 4 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.2895, allocations: 7.5 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2895, allocations: 4 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2895, allocations: 3.984 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2895, allocations: 3.938 kB / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2896, allocations: 173.5 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2896, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.2897, allocations: 4 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2897, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2897, allocations: 3.984 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2897, allocations: 3.938 kB / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2897, allocations: 4 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2898, allocations: 93.02 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.2899, allocations: 81.09 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.29, allocations: 4 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2901, allocations: 7.984 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2901, allocations: 11.98 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2901, allocations: 0 / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.2902, allocations: 83.28 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2902, allocations: 0 / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002014/0.2904, allocations: 16 kB / 1.246 GB, free: 4.41 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.0004568/0.2908, allocations: 0.6357 MB / 1.246 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.291, allocations: 31.98 kB / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.291, allocations: 4 kB / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.291, allocations: 19.92 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.2912, allocations: 13.48 kB / 1.247 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2923, allocations: 1.177 MB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2926, allocations: 0.6845 MB / 1.248 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.2927, allocations: 7.984 kB / 1.248 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.2927, allocations: 15.44 kB / 1.248 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.2927, allocations: 0 / 1.248 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.3147, allocations: 1.77 MB / 1.25 GB, free: 68 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.846, allocations: 6.094 kB / 1.25 GB, free: 64 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches