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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001265/0.001266, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 62.2 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002177/0.2317, allocations: 1.464 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.2321, allocations: 185 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.2321, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.2321, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2323, allocations: 23.84 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.2325, allocations: 55.86 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.2326, allocations: 59.78 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.286e-05/0.2326, allocations: 8 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.2327, allocations: 23.97 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.2328, allocations: 23.92 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.2328, allocations: 4 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.2328, allocations: 4 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2328, allocations: 11.92 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.2329, allocations: 27.91 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.732e-05/0.233, allocations: 44.09 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.233, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.233, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.233, allocations: 8 kB / 1.066 GB, free: 12.53 MB / 0.8262 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.0004083/0.2334, allocations: 347.4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2334, allocations: 8.031 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.2335, allocations: 42.67 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.2335, allocations: 0.9375 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2336, allocations: 176.2 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2336, allocations: 8.375 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.2336, allocations: 4.375 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2338, allocations: 80.8 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2338, allocations: 3.938 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2338, allocations: 4 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2338, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.2339, allocations: 19.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.2341, allocations: 268.8 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/0.2342, allocations: 42.56 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.2343, allocations: 16.86 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.2343, allocations: 96 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.2344, allocations: 67.31 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.126e-06/0.2344, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.2346, allocations: 77.53 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.2347, allocations: 110.8 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.2347, allocations: 105.8 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2347, allocations: 25.7 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.2348, allocations: 84.14 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2348, allocations: 15.83 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.2348, allocations: 17.72 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.2349, allocations: 318.8 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.235, allocations: 16 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.235, allocations: 38.5 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2351, allocations: 24.86 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.2351, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.894e-05/0.2352, allocations: 61.59 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2352, allocations: 5.562 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2352, allocations: 448 / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.2352, allocations: 0 / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.2353, allocations: 8 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2353, allocations: 8.016 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2354, allocations: 11.94 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2354, allocations: 8 kB / 1.068 GB, free: 10.28 MB / 0.8262 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.89e-05/0.2355, allocations: 113.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2355, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.2355, allocations: 7.5 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2355, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2355, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2355, allocations: 7.938 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.2356, allocations: 173.6 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2357, allocations: 0 / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.2357, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2357, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2357, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2357, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2357, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2358, allocations: 105.1 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.2359, allocations: 89.03 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2359, allocations: 4 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.236, allocations: 11.98 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.236, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2361, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.2361, allocations: 87.27 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2361, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001815/0.2363, allocations: 12 kB / 1.068 GB, free: 9.566 MB / 0.8262 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.0003391/0.2366, allocations: 0.6285 MB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.2367, allocations: 39.92 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2367, allocations: 0 / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.2368, allocations: 12 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2369, allocations: 8 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.2378, allocations: 1.177 MB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.238, allocations: 0.6768 MB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.238, allocations: 11.91 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.238, allocations: 11.44 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.238, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.2544, allocations: 1.762 MB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.825, allocations: 20.94 kB / 1.072 GB, free: 5.258 MB / 0.8262 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 50 --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[4]=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