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.0013/0.0013, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001479/0.001479, allocations: 213.2 kB / 22.24 MB, free: 4.855 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.973 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.217/3.217, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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="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: 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.002096/0.002096, allocations: 71.86 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003309/0.3648, allocations: 1.666 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.367, allocations: 1.353 MB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.3671, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.3673, allocations: 27.78 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.3678, allocations: 119.5 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.3682, allocations: 137.2 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.3685, allocations: 249.5 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.3686, allocations: 11.98 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3687, allocations: 83.83 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3689, allocations: 91.64 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.3689, allocations: 16 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.3692, allocations: 115.9 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3693, allocations: 91.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3695, allocations: 87.45 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.37, allocations: 334.7 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.37, allocations: 0 / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.37, allocations: 0 / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.37, allocations: 0 / 1.368 GB, free: 9.75 MB / 1.061 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.0009173/0.3709, allocations: 493.6 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3709, allocations: 8.031 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.622e-05/0.371, allocations: 54.73 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.3711, allocations: 28.75 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3714, allocations: 217.1 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3714, allocations: 12.31 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.3715, allocations: 16.38 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.3719, allocations: 301.5 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3719, allocations: 0 / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.372, allocations: 8 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.372, allocations: 4 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009056/0.3729, allocations: 0.6826 MB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3738, allocations: 0.5192 MB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.3743, allocations: 276.3 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3745, allocations: 97.38 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.3745, allocations: 16.27 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.3749, allocations: 176.9 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.3749, allocations: 0 / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0007205/0.3756, allocations: 373.2 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.3757, allocations: 132.5 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.376, allocations: 316.9 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3761, allocations: 33.7 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.3762, allocations: 128.7 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3763, allocations: 122.9 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3764, allocations: 65.69 kB / 1.372 GB, free: 5.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3766, allocations: 338.8 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3767, allocations: 83.89 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.377, allocations: 200.5 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.3773, allocations: 221.6 kB / 1.372 GB, free: 4.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3773, allocations: 0 / 1.372 GB, free: 4.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005087/0.3779, allocations: 273.3 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3779, allocations: 7.984 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3779, allocations: 0 / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3779, allocations: 4 kB / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3781, allocations: 63.91 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3781, allocations: 0 / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3783, allocations: 35.77 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3783, allocations: 8 kB / 1.373 GB, free: 4.242 MB / 1.061 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.0001673/0.3785, allocations: 161.8 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3785, allocations: 23.86 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.3792, allocations: 397.9 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3792, allocations: 4 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3793, allocations: 0 / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3793, allocations: 3.938 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.3796, allocations: 272.5 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3796, allocations: 4 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3797, allocations: 55.91 kB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3798, allocations: 4 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3798, allocations: 15.94 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3798, allocations: 0 / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3798, allocations: 0 / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3803, allocations: 326 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3804, allocations: 67.73 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.3805, allocations: 4 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3806, allocations: 15.98 kB / 1.374 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.3807, allocations: 27.89 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3807, allocations: 23.98 kB / 1.374 GB, free: 2.785 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002467/0.3809, allocations: 236.4 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3809, allocations: 4 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003137/0.3813, allocations: 75.81 kB / 1.374 GB, free: 2.473 MB / 1.061 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.002449/0.3837, allocations: 1.24 MB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.3841, allocations: 216.1 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3841, allocations: 0 / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3843, allocations: 111.9 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3846, allocations: 40.3 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.3878, allocations: 2.514 MB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3879, allocations: 147.4 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003327/0.3883, allocations: 146.8 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3884, allocations: 99.39 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/0.3884, allocations: 0 / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.4253, allocations: 6.594 MB / 1.385 GB, free: 7.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 7.594 kB / 1.385 GB, free: 7.496 MB / 1.076 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: 18.48998550279066]