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.001341/0.001341, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001548/0.001548, allocations: 216.2 kB / 22.25 MB, free: 5.258 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 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.148/3.148, allocations: 0.49 GB / 0.7951 GB, free: 35.35 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.002037/0.002037, allocations: 70.14 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3896, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003317/0.3929, allocations: 1.671 MB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3951, allocations: 1.359 MB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.3952, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.3955, allocations: 31.78 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.3959, allocations: 115.5 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3964, allocations: 132.3 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3967, allocations: 249.5 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3968, allocations: 15.98 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3969, allocations: 79.83 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.3971, allocations: 95.47 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.3972, allocations: 20 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.3974, allocations: 119.9 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3975, allocations: 87.73 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3976, allocations: 95.45 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.3981, allocations: 326.7 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3981, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3981, allocations: 0 / 1.33 GB, free: 13.12 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.0008444/0.3989, allocations: 493.6 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.399, allocations: 12.03 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.399, allocations: 54.67 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.3991, allocations: 32.75 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3994, allocations: 209.1 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3995, allocations: 16.38 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.3995, allocations: 12.38 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3999, allocations: 306.1 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3999, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.4, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.4009, allocations: 0.6904 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.4018, allocations: 0.5151 MB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.4023, allocations: 288.2 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.4025, allocations: 93.38 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.4025, allocations: 20.27 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.4029, allocations: 180.8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.4029, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007093/0.4036, allocations: 369.3 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.4037, allocations: 132.5 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.4041, allocations: 320.9 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.4041, allocations: 29.7 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4042, allocations: 120.8 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4043, allocations: 126.9 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4044, allocations: 61.69 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4046, allocations: 342.8 kB / 1.334 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4047, allocations: 79.95 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4049, allocations: 200.4 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.4053, allocations: 221 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4053, allocations: 0 / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004958/0.4058, allocations: 277.3 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4058, allocations: 4 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4058, allocations: 0 / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4058, allocations: 0 / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.4061, allocations: 67.89 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4061, allocations: 4 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4062, allocations: 27.83 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.4063, allocations: 15.92 kB / 1.335 GB, free: 7.594 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.0001732/0.4064, allocations: 161.8 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.4065, allocations: 27.81 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.4072, allocations: 386 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4072, allocations: 4 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4072, allocations: 0 / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4072, allocations: 11.92 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.4076, allocations: 272.5 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4076, allocations: 3.984 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.4077, allocations: 59.91 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4078, allocations: 4 kB / 1.336 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4078, allocations: 8 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4078, allocations: 4 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4078, allocations: 0 / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4083, allocations: 322.3 kB / 1.336 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4084, allocations: 67.69 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.4085, allocations: 8 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4086, allocations: 23.92 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.4087, allocations: 23.89 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.4087, allocations: 12 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000232/0.409, allocations: 244.4 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.409, allocations: 0 / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000337/0.4093, allocations: 75.86 kB / 1.337 GB, free: 5.836 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.002471/0.4118, allocations: 1.235 MB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.4122, allocations: 227.8 kB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4122, allocations: 0 / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4124, allocations: 123.8 kB / 1.338 GB, free: 4.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4127, allocations: 34.7 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.4158, allocations: 2.506 MB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.4159, allocations: 150.9 kB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.4162, allocations: 142.8 kB / 1.341 GB, free: 1.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4164, allocations: 103.4 kB / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4164, allocations: 0 / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4529, allocations: 6.681 MB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 7.75 kB / 1.348 GB, free: 10.75 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.523167882987764]