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.007936/0.007936, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001938/0.001938, allocations: 188.6 kB / 16.67 MB, free: 5.926 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.913/1.913, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 3.157/3.157, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00311/0.00311, allocations: 67.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9884, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003972/0.9924, allocations: 1.461 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000629/0.9931, allocations: 189.2 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.9931, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.9932, allocations: 3.938 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.9935, allocations: 27.84 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.9938, allocations: 60.48 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.994, allocations: 55.84 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.9941, allocations: 7.984 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.9942, allocations: 27.92 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.9943, allocations: 23.89 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.9944, allocations: 8 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.9944, allocations: 7.938 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.9944, allocations: 4 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.9945, allocations: 27.86 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.9947, allocations: 47.66 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9947, allocations: 4 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9947, allocations: 0 / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9947, allocations: 4 kB / 1.168 GB, free: 1.828 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.0007382/0.9955, allocations: 355.2 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.9955, allocations: 8.031 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.9956, allocations: 34.75 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.9956, allocations: 0.9375 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.9959, allocations: 168.4 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.9959, allocations: 8.375 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.9959, allocations: 4.375 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.9961, allocations: 72.75 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.9962, allocations: 7.875 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.9962, allocations: 4 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9962, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.9963, allocations: 19.98 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.9968, allocations: 280.8 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.997, allocations: 42.5 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.9971, allocations: 16.86 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.9971, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.9973, allocations: 63.48 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.9973, allocations: 4 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000308/0.9977, allocations: 73.61 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.9978, allocations: 106.8 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9979, allocations: 105.8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.998, allocations: 25.7 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.998, allocations: 88.09 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.9981, allocations: 7.953 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.9982, allocations: 21.7 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.9984, allocations: 322.7 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.9985, allocations: 15.98 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.9985, allocations: 30.95 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.9987, allocations: 32.84 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9987, allocations: 3.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001864/0.9989, allocations: 61.64 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9989, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9989, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9989, allocations: 32 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.9991, allocations: 12 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9991, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.9993, allocations: 11.98 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.9993, allocations: 4 kB / 1.17 GB, free: 15.59 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 0.0001581/0.9995, allocations: 109.8 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.9995, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.9996, allocations: 11.48 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9996, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9996, allocations: 8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.9996, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.9999, allocations: 173.5 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.9999, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.9999, allocations: 8.172 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1, allocations: 3.938 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1, allocations: 3.984 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/1, allocations: 101 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/1, allocations: 77.11 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/1, allocations: 12.05 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.001, allocations: 8 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/1.001, allocations: 3.984 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.001, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.864e-05/1.001, allocations: 83.28 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.91e-07/1.001, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003727/1.001, 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.0007153/1.002, allocations: 0.6396 MB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001738/1.002, allocations: 27.94 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.002, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/1.002, allocations: 19.92 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.000251/1.002, allocations: 10.66 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.001774/1.004, allocations: 1.161 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.005, allocations: 0.6885 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.883e-05/1.005, allocations: 4 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/1.005, allocations: 11.44 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/1.005, allocations: 0 / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/1.039, allocations: 1.793 MB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.26, allocations: 4.75 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