Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001635/0.001635, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002097/0.002097, allocations: 213.2 kB / 22.25 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.789 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.22/3.22, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_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.002091/0.002091, allocations: 69.47 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003529/0.3615, allocations: 1.661 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3638, allocations: 1.36 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.3639, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.3642, allocations: 31.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.3647, allocations: 111.5 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.3652, allocations: 134.3 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004448/0.3657, allocations: 249.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3658, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.366, allocations: 91.75 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.3663, allocations: 89.59 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.3663, allocations: 20 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.3666, allocations: 123.9 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.3668, allocations: 83.73 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3669, allocations: 87.45 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.3676, allocations: 326.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.3676, allocations: 0 / 1.329 GB, free: 14.01 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001074/0.3687, allocations: 0.4976 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3688, allocations: 8.031 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.3688, allocations: 54.73 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.369, allocations: 28.75 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.3693, allocations: 213.1 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3694, allocations: 12.31 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3694, allocations: 16.38 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.3699, allocations: 306.1 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3699, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3699, allocations: 8 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3699, allocations: 4 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.3708, allocations: 0.6865 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.3718, allocations: 0.519 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.3723, allocations: 284.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3725, allocations: 93.38 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.3726, allocations: 16.27 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.373, allocations: 180.8 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.373, allocations: 0 / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007726/0.3738, allocations: 365.3 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.3739, allocations: 140.5 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3742, allocations: 312.9 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3742, allocations: 33.7 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3743, allocations: 124.8 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3745, allocations: 130.9 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.3745, allocations: 61.69 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3747, allocations: 338.8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3749, allocations: 83.89 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3751, allocations: 200.5 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.3755, allocations: 217 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3755, allocations: 0 / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004642/0.3759, allocations: 273.3 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.376, allocations: 9.875 kB / 1.334 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.376, allocations: 4 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.376, allocations: 4 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3762, allocations: 63.91 kB / 1.334 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3762, allocations: 3.984 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3764, allocations: 23.83 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.3764, allocations: 19.98 kB / 1.334 GB, free: 8.465 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 (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.0001667/0.3766, allocations: 157.8 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3766, allocations: 27.81 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.3773, allocations: 382 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3773, allocations: 4 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3773, allocations: 0 / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3774, allocations: 11.92 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.3777, allocations: 272.5 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3777, allocations: 0 / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.3778, allocations: 59.86 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3778, allocations: 7.984 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3779, allocations: 8 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3779, allocations: 3.984 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3779, allocations: 0 / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.3784, allocations: 330.3 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.3785, allocations: 67.69 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.3786, allocations: 8 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3787, allocations: 18.23 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.3788, allocations: 31.89 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3788, allocations: 12 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002341/0.379, allocations: 244.4 kB / 1.336 GB, free: 6.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.379, allocations: 3.938 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003198/0.3794, allocations: 79.8 kB / 1.336 GB, free: 6.699 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 (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.00233/0.3817, allocations: 1.227 MB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3821, allocations: 223.8 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3821, allocations: 0 / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3823, allocations: 123.8 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3826, allocations: 37.3 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3857, allocations: 2.506 MB / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.3858, allocations: 150.9 kB / 1.34 GB, free: 2.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003266/0.3861, allocations: 146.9 kB / 1.34 GB, free: 2.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3863, allocations: 99.39 kB / 1.34 GB, free: 2.258 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3863, allocations: 0 / 1.34 GB, free: 2.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.4251, allocations: 6.581 MB / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 4.953 kB / 1.347 GB, free: 11.72 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.867515134159476]