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.001292/0.001292, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002283/0.002283, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.955/2.955, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="cs",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.002297/0.002297, allocations: 63.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9693, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002849/0.9722, allocations: 1.686 MB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.9738, allocations: 1.299 MB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.9739, allocations: 5.938 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.9741, allocations: 28.19 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.9745, allocations: 110.1 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.9748, allocations: 136.8 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.9751, allocations: 248.1 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.9752, allocations: 13.02 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.9753, allocations: 92.91 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.9755, allocations: 104 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.9755, allocations: 17.88 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.9757, allocations: 120 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.9758, allocations: 88.33 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.9759, allocations: 104.1 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.9763, allocations: 337.1 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9763, allocations: 0 / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9763, allocations: 0 / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.9763, allocations: 1 kB / 1.344 GB, free: 13.51 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.0007119/0.977, allocations: 0.5596 MB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9771, allocations: 11.25 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.9771, allocations: 4.062 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.9771, allocations: 48.64 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.9772, allocations: 33.45 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.9775, allocations: 269.2 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9775, allocations: 15.44 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.9775, allocations: 17.78 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.9779, allocations: 217.9 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9779, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.9779, allocations: 10.62 kB / 1.346 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.9779, allocations: 3.828 kB / 1.346 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009343/0.9789, allocations: 0.7379 MB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.9796, allocations: 0.5704 MB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.9801, allocations: 288.1 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.9802, allocations: 94.23 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.9803, allocations: 16.97 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.9807, allocations: 177.8 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.9807, allocations: 0 / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0006776/0.9813, allocations: 374.3 kB / 1.348 GB, free: 11.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.9814, allocations: 137.3 kB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.9817, allocations: 314.8 kB / 1.348 GB, free: 11.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.9817, allocations: 32.58 kB / 1.348 GB, free: 11.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.9818, allocations: 130.9 kB / 1.348 GB, free: 11.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.9819, allocations: 115.4 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.982, allocations: 65.5 kB / 1.348 GB, free: 11.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.982, allocations: 338 kB / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.9822, allocations: 85.67 kB / 1.349 GB, free: 10.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.9823, allocations: 129.6 kB / 1.349 GB, free: 10.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.9827, allocations: 214.4 kB / 1.349 GB, free: 10.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9827, allocations: 0.5156 kB / 1.349 GB, free: 10.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004149/0.9831, allocations: 281.6 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9831, allocations: 9.25 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.9831, allocations: 0.6094 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9831, allocations: 1.312 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.9833, allocations: 64.67 kB / 1.35 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9833, allocations: 9.219 kB / 1.35 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.9835, allocations: 26.73 kB / 1.35 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.9835, allocations: 15.3 kB / 1.35 GB, free: 10.42 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.000145/0.9837, allocations: 157.5 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.9837, allocations: 29.06 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.9844, allocations: 387.5 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9844, allocations: 3.531 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.9844, allocations: 3.938 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9844, allocations: 3.359 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.9847, allocations: 335.3 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.9847, allocations: 1.734 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.9849, allocations: 60.08 kB / 1.351 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.9849, allocations: 1.281 kB / 1.351 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.9849, allocations: 11.09 kB / 1.351 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.9849, allocations: 0.8125 kB / 1.351 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9849, allocations: 5.766 kB / 1.351 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.9854, allocations: 318.7 kB / 1.351 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.9855, allocations: 150.3 kB / 1.351 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.9855, allocations: 7.047 kB / 1.351 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.9857, allocations: 14.25 kB / 1.351 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.9857, allocations: 24.97 kB / 1.351 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.9858, allocations: 15.27 kB / 1.351 GB, free: 9.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002033/0.986, allocations: 242.8 kB / 1.351 GB, free: 9.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.986, allocations: 3.938 kB / 1.351 GB, free: 9.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004254/0.9864, allocations: 71.92 kB / 1.351 GB, free: 9.383 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.002092/0.9885, allocations: 1.207 MB / 1.353 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.9889, allocations: 220.9 kB / 1.353 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9889, allocations: 4 kB / 1.353 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.9891, allocations: 126.7 kB / 1.353 GB, free: 8.469 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.9894, allocations: 42.17 kB / 1.353 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.9921, allocations: 2.506 MB / 1.355 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.9923, allocations: 0.7594 MB / 1.356 GB, free: 6.152 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003307/0.9927, allocations: 144.7 kB / 1.356 GB, free: 6.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.9928, allocations: 102.2 kB / 1.356 GB, free: 6.055 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9928, allocations: 0 / 1.356 GB, free: 6.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/1.02, allocations: 6.056 MB / 1.362 GB, free: 5.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/9.507, allocations: 6.75 kB / 1.362 GB, free: 5.047 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=800 --tolerance=1e-06 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.mat","/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: 16.135016451007687]