Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002198/0.002198, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002481/0.002481, allocations: 216.3 kB / 22.25 MB, free: 4.855 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_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.00214/0.00214, allocations: 68.89 kB / 1.117 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 170 MB / 1.283 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003061/0.369, allocations: 1.494 MB / 1.284 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.37, allocations: 468.2 kB / 1.284 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.37, allocations: 0 / 1.284 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3701, allocations: 8 kB / 1.284 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.3703, allocations: 31.78 kB / 1.285 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.258e-05/0.3704, allocations: 11.98 kB / 1.285 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3705, allocations: 51.78 kB / 1.285 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3706, allocations: 19.86 kB / 1.285 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.3708, allocations: 23.92 kB / 1.285 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.3709, allocations: 19.92 kB / 1.285 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.371, allocations: 4 kB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.371, allocations: 4 kB / 1.285 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.371, allocations: 15.97 kB / 1.285 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.371, allocations: 15.94 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3712, allocations: 47.75 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3712, allocations: 0 / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3712, allocations: 0 / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3712, allocations: 0 / 1.285 GB, free: 2.027 MB / 0.9825 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.0005789/0.3717, allocations: 278.2 kB / 1.285 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3718, allocations: 8.031 kB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3718, allocations: 30.75 kB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.3719, allocations: 12.89 kB / 1.285 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.372, allocations: 122.5 kB / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.372, allocations: 4.375 kB / 1.285 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.372, allocations: 384 / 1.285 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3722, allocations: 53.81 kB / 1.285 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3722, allocations: 4 kB / 1.285 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3722, allocations: 3.984 kB / 1.285 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3722, allocations: 0 / 1.285 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.3723, allocations: 15.94 kB / 1.285 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3726, allocations: 239.9 kB / 1.285 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3727, allocations: 46.56 kB / 1.286 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.3728, allocations: 16.86 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3728, allocations: 0 / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.373, allocations: 71.42 kB / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.373, allocations: 0 / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00022/0.3732, allocations: 85.56 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3732, allocations: 51.41 kB / 1.286 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3733, allocations: 113.8 kB / 1.286 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3734, allocations: 25.7 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.3734, allocations: 88.14 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3734, allocations: 11.89 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.3735, allocations: 25.72 kB / 1.286 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3736, allocations: 322.7 kB / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.3737, allocations: 15.98 kB / 1.286 GB, free: 232 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.3737, allocations: 8 kB / 1.286 GB, free: 224 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.3738, allocations: 32.8 kB / 1.286 GB, free: 188 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3738, allocations: 0 / 1.286 GB, free: 188 kB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001121/0.3739, allocations: 61.69 kB / 1.286 GB, free: 120 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3739, allocations: 8 kB / 1.286 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3739, allocations: 0 / 1.286 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3739, allocations: 0 / 1.286 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.374, allocations: 15.92 kB / 1.286 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.374, allocations: 4.312 kB / 1.286 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.374, allocations: 4.391 kB / 1.286 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3741, allocations: 4 kB / 1.286 GB, free: 84 kB / 0.9825 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 0.0001146/0.3742, allocations: 117.8 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.3742, allocations: 7.984 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.3742, allocations: 12.06 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3742, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3742, allocations: 4 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3742, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3744, allocations: 144.6 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3744, allocations: 3.984 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.3744, allocations: 4 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3744, allocations: 3.984 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3744, allocations: 4 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3744, allocations: 0 / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3744, allocations: 0 / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3746, allocations: 101 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3746, allocations: 11.92 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3746, allocations: 0 / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.3747, allocations: 4 kB / 1.287 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3747, allocations: 7.984 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3747, allocations: 4 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.3748, allocations: 91.28 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002018/0.375, allocations: 8 kB / 1.287 GB, free: 15.49 MB / 0.9981 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.0004954/0.3755, allocations: 0.6435 MB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3756, allocations: 31.98 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3756, allocations: 0 / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/0.3757, allocations: 19.98 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3758, allocations: 11.94 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3771, allocations: 1.227 MB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.3772, allocations: 63.34 kB / 1.289 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3772, allocations: 4 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3773, allocations: 11.44 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3773, allocations: 0 / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4072, allocations: 2.037 MB / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.04, allocations: 13.27 kB / 1.291 GB, free: 11.45 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.888370686210692]