Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.00182/0.00182, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.00234/0.00234, allocations: 216.9 kB / 22.24 MB, free: 4.73 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.357/3.357, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.002041/0.002041, allocations: 63.31 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003575/0.362, allocations: 1.489 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3632, allocations: 479.8 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.3632, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.3633, allocations: 3.938 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.3636, allocations: 27.84 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.3637, allocations: 15.92 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3638, allocations: 51.84 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3639, allocations: 15.92 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3641, allocations: 27.86 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3641, allocations: 19.92 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3642, allocations: 4 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.3642, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.3642, allocations: 23.91 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.3642, allocations: 11.94 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3643, allocations: 39.88 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3643, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3643, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3644, allocations: 0 / 1.366 GB, free: 11.84 MB / 1.061 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.0006292/0.365, allocations: 278.2 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.365, allocations: 11.97 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.3651, allocations: 38.73 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3651, allocations: 4.891 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3653, allocations: 118.5 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3653, allocations: 4.375 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3653, allocations: 4.359 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3654, allocations: 57.8 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3655, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3655, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3655, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.3655, allocations: 23.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.366, allocations: 239.9 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3661, allocations: 38.56 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3661, allocations: 20.86 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3661, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3664, allocations: 71.41 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3664, allocations: 3.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.000242/0.3666, allocations: 77.88 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3667, allocations: 55.41 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3668, allocations: 117.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3668, allocations: 25.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.3668, allocations: 84.09 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3668, allocations: 19.88 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3669, allocations: 21.72 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.367, allocations: 318.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.3671, allocations: 12 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.3671, allocations: 19.94 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.828e-05/0.3671, allocations: 28.84 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3671, allocations: 0 / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001019/0.3672, allocations: 61.66 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3673, allocations: 11.98 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3673, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3673, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.3673, allocations: 8 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3673, allocations: 4 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.3674, allocations: 4 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3674, allocations: 3.938 kB / 1.367 GB, free: 9.887 MB / 1.061 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.024e-05/0.3675, allocations: 121.8 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3675, allocations: 3.953 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3675, allocations: 12.06 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3675, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3675, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3676, allocations: 0 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3677, allocations: 140.6 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3677, allocations: 7.984 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.3677, allocations: 8 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3677, allocations: 0 / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3677, allocations: 256 / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3677, allocations: 0 / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3677, allocations: 4 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3679, allocations: 101 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.3679, allocations: 11.88 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3679, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.368, allocations: 4 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.368, allocations: 7.984 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.368, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.3681, allocations: 95.25 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3681, allocations: 0 / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001895/0.3683, allocations: 12 kB / 1.368 GB, free: 9.285 MB / 1.061 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004625/0.3687, allocations: 0.6397 MB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.3688, allocations: 31.94 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3688, allocations: 0 / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.3689, allocations: 23.92 kB / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3691, allocations: 4 kB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3703, allocations: 1.228 MB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.3703, allocations: 63.34 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.3704, allocations: 7.906 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3704, allocations: 15.42 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3704, allocations: 0 / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3986, allocations: 2.038 MB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 7.938 kB / 1.372 GB, free: 5.254 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable locTim.cloTim in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.21210802393034]