Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001529/0.001529, 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.001772/0.001772, allocations: 212.7 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.934/2.934, allocations: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_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.002132/0.002132, allocations: 64.61 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004118/0.3482, allocations: 1.662 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3508, allocations: 1.363 MB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.3509, allocations: 4 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3512, allocations: 23.8 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006307/0.3519, allocations: 111.5 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3524, allocations: 144.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.3528, allocations: 245.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.353, allocations: 15.98 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3532, allocations: 83.83 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.3534, allocations: 86.11 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.3535, allocations: 16 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.3538, allocations: 119.8 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3539, allocations: 87.8 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3541, allocations: 83.52 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.3547, allocations: 340 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3547, allocations: 4 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3547, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.3547, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 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.00107/0.3558, allocations: 0.4912 MB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3558, allocations: 12.03 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.3559, allocations: 50.73 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.356, allocations: 36.75 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.3563, allocations: 209.1 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3564, allocations: 12.38 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3564, allocations: 12.38 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.3569, allocations: 303.3 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3569, allocations: 3.938 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3569, allocations: 8 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3569, allocations: 0 / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.3578, allocations: 0.6904 MB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.3587, allocations: 0.5073 MB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.3592, allocations: 288.7 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3593, allocations: 97.38 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.3594, allocations: 12.27 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.3597, allocations: 176.9 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3597, allocations: 0 / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0007102/0.3605, allocations: 370.7 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.3606, allocations: 132.5 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3609, allocations: 320.9 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.3609, allocations: 29.7 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.361, allocations: 124.7 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3611, allocations: 126.9 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.3612, allocations: 65.69 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3614, allocations: 338.8 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3615, allocations: 79.95 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.3618, allocations: 208.5 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.3622, allocations: 211.5 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3622, allocations: 3.938 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004812/0.3626, allocations: 281.1 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3627, allocations: 4 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3627, allocations: 3.984 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3627, allocations: 4 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3629, allocations: 63.84 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3629, allocations: 4 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3631, allocations: 31.75 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3631, allocations: 12 kB / 1.292 GB, free: 2.555 MB / 0.9825 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.0001766/0.3633, allocations: 161.8 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.3633, allocations: 27.81 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.3641, allocations: 389.2 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3641, allocations: 0 / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3641, allocations: 4 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3641, allocations: 3.938 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.3644, allocations: 272.5 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3644, allocations: 0 / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3646, allocations: 59.91 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3646, allocations: 0 / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3646, allocations: 12.05 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3646, allocations: 4 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3646, allocations: 3.984 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.3651, allocations: 330 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3653, allocations: 67.73 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.3653, allocations: 4 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3654, allocations: 15.98 kB / 1.293 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.3655, allocations: 23.89 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.3655, allocations: 19.98 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002457/0.3658, allocations: 236.5 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3658, allocations: 0 / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003246/0.3661, allocations: 87.81 kB / 1.294 GB, free: 0.7891 MB / 0.9825 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.002439/0.3685, allocations: 1.224 MB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.369, allocations: 215.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.369, allocations: 3.938 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.3692, allocations: 123.9 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3695, allocations: 36.36 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.3727, allocations: 2.511 MB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.3728, allocations: 155.6 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003345/0.3732, allocations: 150.7 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.3733, allocations: 99.39 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.3733, allocations: 4 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04005/0.4134, allocations: 6.58 MB / 1.304 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 14.34 kB / 1.304 GB, free: 5.805 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.49705037008971]