Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001285/0.001285, 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.001467/0.001467, allocations: 212.7 kB / 22.24 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.442/1.442, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.226/3.226, allocations: 0.5107 GB / 0.8158 GB, free: 17.94 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.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.00201/0.00201, allocations: 69.05 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003649/0.3661, allocations: 1.658 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3686, allocations: 1.365 MB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.3687, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.369, allocations: 27.78 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.3695, allocations: 115.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.3699, allocations: 134.2 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.3703, allocations: 245.5 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3704, allocations: 15.98 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3705, allocations: 79.81 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3707, allocations: 98.73 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.3708, allocations: 20 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.371, allocations: 116 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3711, allocations: 83.81 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3712, allocations: 87.45 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.3717, allocations: 334.6 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.3717, allocations: 3.938 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3717, allocations: 0 / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3717, allocations: 0 / 1.368 GB, free: 9.703 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009479/0.3726, allocations: 497.5 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.3727, allocations: 8.031 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.3728, allocations: 50.73 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3729, allocations: 36.75 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.3733, allocations: 209.1 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3733, allocations: 12.38 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.3733, allocations: 16.36 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.3739, allocations: 309.5 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3739, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.3739, allocations: 4 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3739, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.3749, allocations: 0.6787 MB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.3758, allocations: 0.5154 MB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.3763, allocations: 284.2 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3765, allocations: 93.38 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.3765, allocations: 16.27 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.3769, allocations: 184.8 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.694e-06/0.3769, allocations: 0 / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0007276/0.3776, allocations: 369.2 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3777, allocations: 140.4 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.378, allocations: 312.9 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.3781, allocations: 33.7 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3782, allocations: 128.7 kB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3783, allocations: 119 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.3784, allocations: 65.69 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3786, allocations: 342.8 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3787, allocations: 79.95 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3789, allocations: 196.5 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3793, allocations: 225.6 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3793, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004397/0.3797, allocations: 269.3 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3797, allocations: 8 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3797, allocations: 0 / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3798, allocations: 4 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.38, allocations: 59.91 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.38, allocations: 4 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3801, allocations: 31.77 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3802, allocations: 19.92 kB / 1.373 GB, free: 4.188 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 (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 (35): * Single equations (assignments): 35 * 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.0001637/0.3803, allocations: 161.8 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3804, allocations: 23.86 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.3811, allocations: 386 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3811, allocations: 4 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3811, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3811, allocations: 7.922 kB / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3814, allocations: 272.5 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3814, allocations: 3.938 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3816, allocations: 55.97 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3816, allocations: 0 / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3816, allocations: 11.98 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3816, allocations: 4 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3816, allocations: 0 / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3821, allocations: 326 kB / 1.374 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.3822, allocations: 67.72 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3823, allocations: 8 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3824, allocations: 11.98 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.3825, allocations: 39.83 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3825, allocations: 12 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002324/0.3827, allocations: 240.4 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3827, allocations: 0 / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003092/0.3831, allocations: 75.86 kB / 1.374 GB, free: 2.43 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.00234/0.3854, allocations: 1.24 MB / 1.376 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.3858, allocations: 227.9 kB / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3858, allocations: 0 / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.386, allocations: 119.8 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3863, allocations: 37.48 kB / 1.376 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.3893, allocations: 2.498 MB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.3894, allocations: 151.3 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003265/0.3897, allocations: 146.8 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3899, allocations: 107.3 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3899, allocations: 0 / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.4277, allocations: 6.588 MB / 1.385 GB, free: 7.453 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 0 / 1.385 GB, free: 7.453 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.626215409021825]