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.009358/0.009358, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.002349/0.002349, allocations: 201.3 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.388/2.388, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.707, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002603/0.7096, allocations: 1.463 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000436/0.7101, allocations: 188.8 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.7102, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.7102, allocations: 3.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.7105, allocations: 23.84 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.7107, allocations: 69.05 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.7108, allocations: 51.91 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.7109, allocations: 7.984 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.051e-05/0.711, allocations: 31.86 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.7111, allocations: 19.91 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.7111, allocations: 4 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.7111, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.7112, allocations: 11.98 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.7112, allocations: 23.88 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.7114, allocations: 51.66 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7114, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7114, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.7114, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 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.0005578/0.712, allocations: 359.2 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.712, allocations: 11.97 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.7121, allocations: 30.75 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.7121, allocations: 4.938 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.7122, allocations: 172.4 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7123, allocations: 8.312 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.7123, allocations: 4.375 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.7124, allocations: 72.8 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7125, allocations: 3.938 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7125, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7125, allocations: 4 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.7125, allocations: 19.98 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.7129, allocations: 284.7 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.7131, allocations: 38.56 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.7131, allocations: 16.86 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.7131, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.7133, allocations: 63.48 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.7133, allocations: 7.938 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.7136, allocations: 69.67 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.7136, allocations: 102.8 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.7137, allocations: 105.8 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.7138, allocations: 29.7 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.7138, allocations: 88.09 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.7138, allocations: 7.938 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.7139, allocations: 21.72 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.714, allocations: 330.7 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.714, allocations: 8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.7141, allocations: 34.56 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.683e-05/0.7142, allocations: 33.17 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7142, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.7143, allocations: 61.64 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.7143, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7143, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7143, allocations: 4.031 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.7144, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.7144, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.7145, allocations: 11.98 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.7145, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 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 8.89e-05/0.7146, allocations: 117.7 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.7147, allocations: 7.984 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.7147, allocations: 7.5 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7147, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7147, allocations: 3.938 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7147, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.7148, allocations: 173.6 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7149, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.7149, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7149, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.7149, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7149, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7149, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.7151, allocations: 101.2 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.7151, allocations: 85.09 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.7151, allocations: 4 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.7153, allocations: 19.98 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.7153, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.7153, allocations: 4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.7154, allocations: 87.27 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7154, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001989/0.7156, allocations: 15.94 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.0003731/0.7159, allocations: 0.6304 MB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.7161, allocations: 43.86 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7161, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.7161, allocations: 12 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.7163, allocations: 8 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7174, allocations: 1.164 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.7176, allocations: 0.6807 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.7177, allocations: 4 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.7177, allocations: 11.44 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.7177, allocations: 4.031 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.7368, allocations: 1.798 MB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.988, allocations: 1.562 kB / 1.175 GB, free: 10.56 MB / 0.9044 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[2]=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