Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_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.007207/0.007207, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00162/0.00162, allocations: 193.3 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 66.89 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2437, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002777/0.2466, allocations: 1.462 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004259/0.247, allocations: 184.8 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.2471, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.2471, allocations: 3.938 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.2474, allocations: 31.84 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2476, allocations: 59.09 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2477, allocations: 55.84 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.2478, allocations: 4 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.2479, allocations: 31.91 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.248, allocations: 15.92 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.248, allocations: 4 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.248, allocations: 11.94 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.248, allocations: 11.92 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.2481, allocations: 23.92 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.2482, allocations: 52.08 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2482, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2482, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2482, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 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.0005473/0.2488, allocations: 351.5 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2488, allocations: 8.031 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.2489, allocations: 30.75 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.2489, allocations: 8.922 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2491, allocations: 176.3 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2491, allocations: 8.312 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2491, allocations: 4.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2493, allocations: 68.81 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2493, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2493, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2493, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.2494, allocations: 15.98 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2498, allocations: 280.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.2499, allocations: 38.56 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.2499, allocations: 16.86 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.2499, allocations: 96 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.2501, allocations: 67.38 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2501, allocations: 7.938 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.2503, allocations: 73.62 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2504, allocations: 102.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.2505, allocations: 105.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2505, allocations: 29.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.2505, allocations: 84.14 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2506, allocations: 11.89 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.2506, allocations: 21.72 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.2507, allocations: 326.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.2508, allocations: 12.25 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.2508, allocations: 34.56 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.2509, allocations: 28.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2509, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.84e-05/0.251, allocations: 57.69 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.251, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.251, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.251, allocations: 4.031 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.2511, allocations: 15.94 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2511, allocations: 3.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2512, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.2513, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 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.603e-05/0.2513, allocations: 125.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.2514, allocations: 7.953 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.2514, allocations: 3.5 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2514, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2514, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2514, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2515, allocations: 181.5 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2515, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.2516, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2516, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.2516, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2516, allocations: 192 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2516, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2517, allocations: 97.05 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.2518, allocations: 89.05 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2518, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2519, allocations: 15.92 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.252, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.252, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.252, allocations: 87.27 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2521, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001931/0.2523, allocations: 16 kB / 1.092 GB, free: 13.06 MB / 0.8575 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.0003992/0.2527, allocations: 0.6281 MB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2528, allocations: 35.92 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2528, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.2528, allocations: 12 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.253, allocations: 9.422 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.254, allocations: 1.182 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2542, allocations: 0.6807 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.104e-05/0.2543, allocations: 8.078 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.2543, allocations: 11.44 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2543, allocations: 3.938 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2722, allocations: 1.781 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.169, allocations: 13.78 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_9_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