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.001754/0.001754, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002418/0.002418, allocations: 217.4 kB / 23.03 MB, free: 4.949 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.278/3.278, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="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.002227/0.002227, allocations: 66.59 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3657, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003425/0.3691, allocations: 1.65 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.3718, allocations: 1.363 MB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3719, allocations: 0 / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3722, allocations: 23.8 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.3728, allocations: 115.5 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3732, allocations: 138.2 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.3737, allocations: 249.5 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3738, allocations: 15.98 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.374, allocations: 83.81 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3742, allocations: 95.7 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.3743, allocations: 20 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.3745, allocations: 123.9 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3747, allocations: 79.81 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3748, allocations: 83.52 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.3753, allocations: 330.6 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3753, allocations: 4 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3753, allocations: 0 / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3753, allocations: 4 kB / 1.35 GB, free: 11.57 MB / 1.045 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.0008397/0.3761, allocations: 0.5012 MB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3762, allocations: 12.03 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3762, allocations: 4.188 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.3762, allocations: 46.73 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.3763, allocations: 28.75 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.3767, allocations: 209.1 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3767, allocations: 12.38 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.3767, allocations: 32.05 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.3772, allocations: 290 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3772, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.3772, allocations: 4 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.3772, allocations: 4 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.3782, allocations: 0.741 MB / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.3791, allocations: 0.5076 MB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.3796, allocations: 280.2 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3797, allocations: 97.38 kB / 1.352 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.3798, allocations: 16.27 kB / 1.352 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003733/0.3801, allocations: 180.8 kB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.3801, allocations: 0 / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0007292/0.3809, allocations: 369.2 kB / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.381, allocations: 140.5 kB / 1.353 GB, free: 7.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.3813, allocations: 316.9 kB / 1.353 GB, free: 7.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3813, allocations: 29.7 kB / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.3814, allocations: 124.7 kB / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3815, allocations: 119 kB / 1.353 GB, free: 7.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3816, allocations: 65.69 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3818, allocations: 334.8 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3819, allocations: 91.94 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3822, allocations: 204.5 kB / 1.354 GB, free: 6.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3825, allocations: 222.1 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3825, allocations: 0 / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004662/0.383, allocations: 277.3 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.383, allocations: 4 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.383, allocations: 0 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.383, allocations: 4 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3833, allocations: 59.91 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3833, allocations: 7.938 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3834, allocations: 34.64 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3835, allocations: 15.98 kB / 1.355 GB, free: 5.988 MB / 1.045 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.0001696/0.3836, allocations: 157.8 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.3837, allocations: 23.86 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.3844, allocations: 382.1 kB / 1.355 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3844, allocations: 0 / 1.355 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3844, allocations: 7.938 kB / 1.355 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3844, allocations: 3.984 kB / 1.355 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.3847, allocations: 268.5 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3847, allocations: 0 / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3849, allocations: 59.91 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3849, allocations: 3.938 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.385, allocations: 19.98 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.385, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.385, allocations: 7.938 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.3855, allocations: 326.2 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3856, allocations: 71.72 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3856, allocations: 4 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3858, allocations: 20.02 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3858, allocations: 27.89 kB / 1.356 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3859, allocations: 12 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002405/0.3861, allocations: 240.4 kB / 1.356 GB, free: 4.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3861, allocations: 4 kB / 1.356 GB, free: 4.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000329/0.3864, allocations: 79.86 kB / 1.356 GB, free: 4.223 MB / 1.045 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.002397/0.3888, allocations: 1.218 MB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.3893, allocations: 231.8 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3893, allocations: 4 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3895, allocations: 115.9 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3898, allocations: 44.38 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.3931, allocations: 2.502 MB / 1.36 GB, free: 208 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.3933, allocations: 154.9 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003743/0.3936, allocations: 150.8 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.3938, allocations: 107.3 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/0.3938, allocations: 0 / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4268, allocations: 6.321 MB / 1.367 GB, free: 9.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 8.906 kB / 1.367 GB, free: 9.52 MB / 1.061 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 & /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: 19.159089227905497]