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.001343/0.001343, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.001625/0.001625, allocations: 218.9 kB / 22.26 MB, free: 5.191 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.211 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.169/3.169, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.001998/0.001998, allocations: 61.97 kB / 1.154 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003325/0.3577, allocations: 1.7 MB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3598, allocations: 1.387 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.3599, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.3602, allocations: 31.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.3606, allocations: 111.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3609, allocations: 138.4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.3613, allocations: 245.5 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.3614, allocations: 15.98 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3615, allocations: 87.81 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3617, allocations: 98.05 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.3617, allocations: 24 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.362, allocations: 127.9 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3621, allocations: 91.75 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3622, allocations: 103.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.3626, allocations: 326.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.47 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.0007774/0.3634, allocations: 0.4936 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3634, allocations: 16.03 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.3635, allocations: 46.73 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.3636, allocations: 36.75 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.3639, allocations: 209.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3639, allocations: 12.38 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3639, allocations: 20.38 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.3643, allocations: 217 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3643, allocations: 3.938 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.3643, allocations: 8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3643, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.3652, allocations: 0.7373 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.3661, allocations: 0.5463 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.3666, allocations: 291.6 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3667, allocations: 101.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.526e-05/0.3668, allocations: 16.25 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.3671, allocations: 176.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.3671, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0006827/0.3678, allocations: 373.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.3679, allocations: 136.5 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.3682, allocations: 312.9 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3682, allocations: 37.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.3683, allocations: 120.8 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3684, allocations: 126.9 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3685, allocations: 65.69 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3687, allocations: 330.8 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3688, allocations: 79.95 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.369, allocations: 131.3 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3694, allocations: 217 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3694, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004488/0.3698, allocations: 281.2 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3698, allocations: 4 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3698, allocations: 0 / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3698, allocations: 4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3701, allocations: 67.84 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3701, allocations: 0 / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3702, allocations: 30.48 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.3702, allocations: 19.98 kB / 1.335 GB, free: 8.027 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.0001564/0.3704, allocations: 157.8 kB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3705, allocations: 27.81 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.3711, allocations: 378.1 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.3711, allocations: 4 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3711, allocations: 4 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3712, allocations: 7.922 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.3715, allocations: 304.4 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3715, allocations: 4 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3717, allocations: 59.91 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3717, allocations: 0 / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3717, allocations: 12 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3717, allocations: 4 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3717, allocations: 0 / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.3722, allocations: 326.2 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3723, allocations: 67.69 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3723, allocations: 12 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3725, allocations: 11.98 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3725, allocations: 31.89 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.3726, allocations: 15.98 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002392/0.3728, allocations: 240.5 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3728, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003132/0.3731, allocations: 71.86 kB / 1.337 GB, free: 6.246 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.002242/0.3753, allocations: 1.213 MB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.3758, allocations: 223.8 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3758, allocations: 4 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.376, allocations: 119.8 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3762, allocations: 41.78 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3793, allocations: 2.502 MB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3796, allocations: 0.7574 MB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.3799, allocations: 142.9 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3801, allocations: 103.3 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3801, allocations: 0 / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.4155, allocations: 6.252 MB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 20.38 kB / 1.348 GB, free: 10.96 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.959218932082877]