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.001871/0.001871, 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.002389/0.002389, allocations: 212.4 kB / 22.24 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.105/3.105, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.002124/0.002124, allocations: 68.88 kB / 1.153 GB, free: 25.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.325 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003525/0.3532, allocations: 1.645 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.3556, allocations: 1.36 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.3557, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.356, allocations: 35.78 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.3565, allocations: 115.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.3569, allocations: 134.9 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.3572, allocations: 241.5 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3574, allocations: 23.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3575, allocations: 87.77 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3577, allocations: 83.7 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.3578, allocations: 24 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.358, allocations: 112 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3581, allocations: 87.73 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3582, allocations: 91.45 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3587, allocations: 330.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3587, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3587, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3587, allocations: 0 / 1.329 GB, free: 14.14 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.0008676/0.3596, allocations: 493.6 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3596, allocations: 12.03 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.3597, allocations: 58.67 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.3598, allocations: 28.75 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.3601, allocations: 213.1 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3602, allocations: 12.38 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.3602, allocations: 12.38 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.3606, allocations: 306.1 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3606, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3607, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3607, allocations: 7.938 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.3616, allocations: 0.6904 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3626, allocations: 0.5151 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.3632, allocations: 284.3 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3634, allocations: 93.38 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.3634, allocations: 16.27 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.3638, allocations: 180.8 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.3639, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008227/0.3647, allocations: 373.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.3648, allocations: 132.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.3652, allocations: 316.9 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3652, allocations: 33.7 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3653, allocations: 124.8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3655, allocations: 123 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3656, allocations: 61.69 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3657, allocations: 338.8 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3659, allocations: 79.95 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3662, allocations: 196.5 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.3665, allocations: 225 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3665, allocations: 0 / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005159/0.367, allocations: 277.3 kB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3671, allocations: 4 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3671, allocations: 4 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3671, allocations: 0 / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3673, allocations: 67.89 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3673, allocations: 4 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3675, allocations: 23.83 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3675, allocations: 11.98 kB / 1.334 GB, free: 8.617 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.0001776/0.3677, allocations: 161.8 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.3678, allocations: 27.81 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.3685, allocations: 386 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3685, allocations: 4 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3685, allocations: 0 / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3685, allocations: 15.86 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3689, allocations: 276.5 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3689, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.369, allocations: 59.91 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3691, allocations: 4.031 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3691, allocations: 11.94 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3691, allocations: 4 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3691, allocations: 0 / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.3696, allocations: 326.3 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3698, allocations: 63.69 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3698, allocations: 8 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.37, allocations: 23.98 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.37, allocations: 23.89 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.37, allocations: 12 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002517/0.3703, allocations: 240.4 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3703, allocations: 0 / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000363/0.3707, allocations: 75.86 kB / 1.336 GB, free: 6.855 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.002494/0.3732, allocations: 1.246 MB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.3736, allocations: 223.8 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3736, allocations: 0 / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3738, allocations: 119.9 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3742, allocations: 41.98 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.3792, allocations: 2.505 MB / 1.34 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3794, allocations: 142.9 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005926/0.38, allocations: 146.9 kB / 1.34 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3803, allocations: 95.39 kB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.3803, allocations: 4 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.4233, allocations: 6.579 MB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 13.42 kB / 1.347 GB, free: 11.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 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.mat","/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.588813299313188]