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.001306/0.001306, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.00142/0.00142, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.755/2.755, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] 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.002021/0.002021, allocations: 71.88 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8704, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003161/0.8736, allocations: 1.686 MB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.8755, allocations: 1.305 MB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.8756, allocations: 3.938 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.8758, allocations: 23.84 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.8761, allocations: 111.5 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.8765, allocations: 137.4 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.8768, allocations: 241.6 kB / 1.282 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.8769, allocations: 19.97 kB / 1.282 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.877, allocations: 83.77 kB / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.8773, allocations: 103.7 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.8773, allocations: 20 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.8775, allocations: 123.9 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.8776, allocations: 87.73 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.8777, allocations: 103.4 kB / 1.282 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.8782, allocations: 332.6 kB / 1.283 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8782, allocations: 0 / 1.283 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8782, allocations: 0 / 1.283 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8782, allocations: 0 / 1.283 GB, free: 9.047 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.0008095/0.879, allocations: 0.5574 MB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.879, allocations: 15.97 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.8791, allocations: 54.67 kB / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.8791, allocations: 32.75 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.8794, allocations: 270.9 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8795, allocations: 12.38 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.8795, allocations: 12.38 kB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.8799, allocations: 222.5 kB / 1.284 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8799, allocations: 3.984 kB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.8799, allocations: 4 kB / 1.284 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.8799, allocations: 8 kB / 1.284 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.8809, allocations: 0.7448 MB / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.8817, allocations: 0.5668 MB / 1.285 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.8822, allocations: 296.6 kB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.8824, allocations: 97.38 kB / 1.285 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.8824, allocations: 20.25 kB / 1.285 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.8828, allocations: 172.9 kB / 1.286 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.8828, allocations: 0 / 1.286 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0007063/0.8835, allocations: 366.2 kB / 1.286 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.8836, allocations: 136.5 kB / 1.286 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.8839, allocations: 320.9 kB / 1.286 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.8839, allocations: 33.7 kB / 1.286 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.884, allocations: 136.6 kB / 1.286 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.8841, allocations: 119 kB / 1.287 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.8842, allocations: 61.69 kB / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8844, allocations: 334.8 kB / 1.287 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.8845, allocations: 83.95 kB / 1.287 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.8847, allocations: 120 kB / 1.287 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.8851, allocations: 222.8 kB / 1.287 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8851, allocations: 0 / 1.287 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004832/0.8856, allocations: 281.2 kB / 1.288 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8856, allocations: 7.984 kB / 1.288 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8856, allocations: 0 / 1.288 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8856, allocations: 4 kB / 1.288 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.8858, allocations: 59.91 kB / 1.288 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.8858, allocations: 0 / 1.288 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.886, allocations: 39.69 kB / 1.288 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.886, allocations: 8 kB / 1.288 GB, free: 3.418 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.0001682/0.8862, allocations: 165.8 kB / 1.288 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.8863, allocations: 27.81 kB / 1.288 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.887, allocations: 385.1 kB / 1.288 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.887, allocations: 4 kB / 1.288 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.887, allocations: 0 / 1.288 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.887, allocations: 7.938 kB / 1.288 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.8874, allocations: 329.3 kB / 1.289 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8874, allocations: 4 kB / 1.289 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.8875, allocations: 55.91 kB / 1.289 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8875, allocations: 0 / 1.289 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.8876, allocations: 11.98 kB / 1.289 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8876, allocations: 8 kB / 1.289 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.8876, allocations: 0 / 1.289 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.8881, allocations: 321.8 kB / 1.289 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.8882, allocations: 144.8 kB / 1.289 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.8883, allocations: 7.984 kB / 1.289 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.8884, allocations: 14.39 kB / 1.289 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.8885, allocations: 31.89 kB / 1.289 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.8885, allocations: 12 kB / 1.289 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002326/0.8887, allocations: 244.4 kB / 1.289 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8887, allocations: 0 / 1.289 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003249/0.8891, allocations: 79.81 kB / 1.29 GB, free: 1.496 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.002274/0.8913, allocations: 1.211 MB / 1.291 GB, free: 432 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.8918, allocations: 219.8 kB / 1.291 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8918, allocations: 0 / 1.291 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.892, allocations: 119.8 kB / 1.291 GB, free: 92 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.8922, allocations: 36.36 kB / 1.291 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.8953, allocations: 2.51 MB / 1.294 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.8957, allocations: 0.7581 MB / 1.294 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.896, allocations: 146.8 kB / 1.294 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.8962, allocations: 103.4 kB / 1.294 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.8962, allocations: 0 / 1.294 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.9304, allocations: 6 MB / 1.3 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/9.169, allocations: 8.547 kB / 1.3 GB, free: 6.527 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.401776504004374]