Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 218.8 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003074/0.003074, allocations: 69.62 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4006, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003265/0.4039, allocations: 1.481 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.4045, allocations: 179.5 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.4045, allocations: 0 / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.4046, allocations: 7.922 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.4048, allocations: 23.86 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.4051, allocations: 65.97 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.4053, allocations: 55.84 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4054, allocations: 7.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.4055, allocations: 35.73 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.4056, allocations: 19.92 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.4056, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.4056, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.4056, allocations: 15.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.4057, allocations: 15.98 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4058, allocations: 47.81 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4058, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4058, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4058, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 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.0006263/0.4065, allocations: 278.3 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4065, allocations: 8.031 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.4066, allocations: 38.75 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.4066, allocations: 4.891 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4068, allocations: 114.5 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4068, allocations: 4.375 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4068, allocations: 4.375 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.407, allocations: 128.2 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4071, allocations: 3.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4071, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4071, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.4071, allocations: 23.98 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.4076, allocations: 247.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.4077, allocations: 34.56 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.4078, allocations: 12.86 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4078, allocations: 4.078 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.4081, allocations: 63.39 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4081, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002847/0.4083, allocations: 73.62 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.4084, allocations: 102.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4086, allocations: 109.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4086, allocations: 25.7 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.4087, allocations: 88.14 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.4087, allocations: 11.89 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4088, allocations: 21.72 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.409, allocations: 322.8 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.409, allocations: 4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.4091, allocations: 89.97 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.4092, allocations: 33.17 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4092, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.4093, allocations: 65.84 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4093, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4093, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4093, allocations: 3.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.4094, allocations: 11.98 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4094, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4095, allocations: 15.89 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4095, allocations: 3.984 kB / 1.33 GB, free: 13.34 MB / 1.029 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.0001278/0.4097, allocations: 118.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.4097, allocations: 7.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.4097, allocations: 7.688 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4097, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4097, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4097, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4099, allocations: 136.7 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4099, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.4099, allocations: 7.984 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4099, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4099, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4099, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4099, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.4101, allocations: 97.05 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.4101, allocations: 7.953 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4102, allocations: 7.922 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4103, allocations: 13.41 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.4103, allocations: 3.984 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4103, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.4104, allocations: 95.27 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4104, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001997/0.4106, allocations: 8 kB / 1.33 GB, free: 12.75 MB / 1.029 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.00054/0.4111, allocations: 0.6281 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.4113, allocations: 31.92 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4113, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.4113, allocations: 16 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.4115, allocations: 6.438 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4128, allocations: 1.168 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.4129, allocations: 63.34 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.735e-05/0.4129, allocations: 11.91 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.413, allocations: 15.72 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.413, allocations: 0 / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4423, allocations: 2.387 MB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.41, allocations: 8.719 kB / 1.334 GB, free: 8.469 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conTim.modTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.325519247999182]