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.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.001168/0.001168, allocations: 109 kB / 17.54 MB, free: 4.746 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.001141/0.001141, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7292, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002351/0.7315, allocations: 1.672 MB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.7328, allocations: 1.246 MB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.7329, allocations: 0.8125 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.733, allocations: 16.83 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.7333, allocations: 82.08 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.7335, allocations: 137 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.7338, allocations: 236.1 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.7338, allocations: 12.89 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.7339, allocations: 75.58 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.7341, allocations: 94.19 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.7341, allocations: 17.34 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.7342, allocations: 80.22 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.7343, allocations: 83.23 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.7344, allocations: 104.8 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.7347, allocations: 281.2 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7347, allocations: 0 / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7347, allocations: 2.156 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7347, allocations: 0.875 kB / 1.275 GB, free: 5.148 MB / 0.9981 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.0005793/0.7353, allocations: 0.5338 MB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.7353, allocations: 9.719 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.7354, allocations: 51.66 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.7354, allocations: 29.28 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.7356, allocations: 271.3 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7356, allocations: 10.66 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.7357, allocations: 15.56 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.736, allocations: 220.1 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.736, allocations: 0.7969 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.736, allocations: 6.188 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.736, allocations: 3.719 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.7368, allocations: 0.749 MB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.7375, allocations: 0.5672 MB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.7379, allocations: 290.1 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.738, allocations: 93.86 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.7381, allocations: 17.02 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.7383, allocations: 181.1 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.7383, allocations: 0 / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0006116/0.7389, allocations: 366.9 kB / 1.279 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.739, allocations: 133.1 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.7393, allocations: 306.6 kB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.7393, allocations: 32.14 kB / 1.279 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.7393, allocations: 126.8 kB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.7394, allocations: 119 kB / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.7395, allocations: 65.77 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.7395, allocations: 342.5 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.7397, allocations: 76.33 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.7399, allocations: 130.9 kB / 1.28 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.7402, allocations: 212.7 kB / 1.28 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7402, allocations: 0.5625 kB / 1.28 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003713/0.7405, allocations: 278 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7405, allocations: 4.312 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7405, allocations: 0.7031 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7406, allocations: 3.562 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.7408, allocations: 58.11 kB / 1.281 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.7408, allocations: 5.516 kB / 1.281 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.7409, allocations: 36.19 kB / 1.281 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.7409, allocations: 14.91 kB / 1.281 GB, free: 2.082 MB / 0.9981 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.0001076/0.741, allocations: 166.1 kB / 1.281 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.7411, allocations: 25.45 kB / 1.281 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.7416, allocations: 382.8 kB / 1.281 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7416, allocations: 3.5 kB / 1.281 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7417, allocations: 4.016 kB / 1.281 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7417, allocations: 9.141 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.7419, allocations: 326.9 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7419, allocations: 1.594 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.7421, allocations: 61.31 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7421, allocations: 0 / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.7421, allocations: 11.19 kB / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7421, allocations: 3.844 kB / 1.282 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7421, allocations: 4.75 kB / 1.282 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.7425, allocations: 312.1 kB / 1.282 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.7426, allocations: 148.1 kB / 1.282 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.7426, allocations: 4.812 kB / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.7427, allocations: 14.25 kB / 1.282 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.7428, allocations: 28.3 kB / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.7428, allocations: 19.42 kB / 1.282 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001506/0.7429, allocations: 230.6 kB / 1.282 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7429, allocations: 0 / 1.282 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002513/0.7432, allocations: 62.3 kB / 1.282 GB, free: 1.051 MB / 0.9981 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.001645/0.7448, allocations: 1.149 MB / 1.283 GB, free: 264 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.7452, allocations: 226.4 kB / 1.284 GB, free: 196 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7452, allocations: 4.531 kB / 1.284 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.7454, allocations: 120.1 kB / 1.284 GB, free: 160 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.7456, allocations: 35.39 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.7483, allocations: 2.455 MB / 1.286 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.7487, allocations: 0.7574 MB / 1.287 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003/0.749, allocations: 143.3 kB / 1.287 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.7491, allocations: 92 kB / 1.287 GB, free: 13.78 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.7491, allocations: 4 kB / 1.287 GB, free: 13.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.7796, allocations: 5.489 MB / 1.293 GB, free: 12.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/8.094, allocations: 5.312 kB / 1.293 GB, free: 12.81 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.619520539003133]