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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 73.48 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3101, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003167/0.3133, allocations: 1.648 MB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.315, allocations: 1.179 MB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.3151, allocations: 0 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.3153, allocations: 27.78 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3156, allocations: 71.44 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3159, allocations: 127.6 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.3162, allocations: 245.6 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.3163, allocations: 8.234 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.3164, allocations: 79.81 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.3166, allocations: 99.7 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.3167, allocations: 16 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3168, allocations: 75.97 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.3169, allocations: 75.8 kB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.317, allocations: 107.3 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.3174, allocations: 278.8 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3174, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3174, allocations: 4 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3174, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 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.0007967/0.3182, allocations: 0.5379 MB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3182, allocations: 12.62 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.3183, allocations: 50.73 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.3184, allocations: 32.75 kB / 1.309 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3187, allocations: 267.8 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3187, allocations: 8.375 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3187, allocations: 20.31 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.3191, allocations: 225 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3191, allocations: 3.938 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3191, allocations: 8 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3192, allocations: 0 / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.3201, allocations: 0.7411 MB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.3209, allocations: 0.5668 MB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.3214, allocations: 283.6 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3216, allocations: 97.38 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.3216, allocations: 16.25 kB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.322, allocations: 172.9 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 3.587e-06/0.322, allocations: 4 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.000667/0.3227, allocations: 373.2 kB / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3228, allocations: 132.5 kB / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.3231, allocations: 304 kB / 1.312 GB, free: 9.449 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3231, allocations: 33.7 kB / 1.312 GB, free: 9.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.3232, allocations: 120.7 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.3233, allocations: 123 kB / 1.312 GB, free: 9.164 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.3234, allocations: 65.69 kB / 1.312 GB, free: 9.094 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3236, allocations: 342.8 kB / 1.312 GB, free: 8.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3237, allocations: 79.95 kB / 1.312 GB, free: 8.672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.3239, allocations: 128.7 kB / 1.312 GB, free: 8.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3243, allocations: 213.8 kB / 1.313 GB, free: 8.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3243, allocations: 0 / 1.313 GB, free: 8.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004565/0.3247, allocations: 281.1 kB / 1.313 GB, free: 8.043 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3247, allocations: 4 kB / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3247, allocations: 4 kB / 1.313 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3248, allocations: 4 kB / 1.313 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.325, allocations: 67.91 kB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.325, allocations: 0 / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.3252, allocations: 31.77 kB / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3252, allocations: 12 kB / 1.313 GB, free: 7.922 MB / 1.014 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.0001886/0.3254, allocations: 161.8 kB / 1.313 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.3254, allocations: 27.84 kB / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.3262, allocations: 380.5 kB / 1.314 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.3262, allocations: 4 kB / 1.314 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3262, allocations: 3.938 kB / 1.314 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3262, allocations: 11.94 kB / 1.314 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.3266, allocations: 325.3 kB / 1.314 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3266, allocations: 0 / 1.314 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3267, allocations: 55.91 kB / 1.314 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3267, allocations: 4 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3268, allocations: 8 kB / 1.314 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3268, allocations: 3.938 kB / 1.314 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3268, allocations: 0 / 1.314 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.3273, allocations: 339.1 kB / 1.314 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3274, allocations: 144.8 kB / 1.314 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.3275, allocations: 8 kB / 1.314 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3276, allocations: 11.98 kB / 1.314 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.3277, allocations: 31.91 kB / 1.315 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3277, allocations: 11.98 kB / 1.315 GB, free: 6.316 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000236/0.3279, allocations: 229.8 kB / 1.315 GB, free: 6.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 1.315 GB, free: 6.094 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003009/0.3282, allocations: 51.98 kB / 1.315 GB, free: 6.043 MB / 1.014 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.002245/0.3305, allocations: 1.159 MB / 1.316 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3309, allocations: 219.9 kB / 1.316 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3309, allocations: 0 / 1.316 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3311, allocations: 132.2 kB / 1.316 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3313, allocations: 34.47 kB / 1.316 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.3344, allocations: 2.449 MB / 1.319 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3348, allocations: 0.7579 MB / 1.319 GB, free: 1.332 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003311/0.3352, allocations: 146.8 kB / 1.32 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3353, allocations: 95.39 kB / 1.32 GB, free: 1.094 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/0.3353, allocations: 0 / 1.32 GB, free: 1.094 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.3693, allocations: 5.524 MB / 1.325 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.436, allocations: 12.66 kB / 1.325 GB, free: 11.66 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 14.994585630018264]