Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00185/0.00185, allocations: 107.5 kB / 16.46 MB, free: 6.453 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.002308/0.002308, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.056/3.056, allocations: 0.49 GB / 0.7916 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_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.002613/0.002613, allocations: 71.22 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3461, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0032/0.3493, allocations: 1.664 MB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3513, allocations: 1.304 MB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.3513, allocations: 3.938 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3515, allocations: 27.84 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.3518, allocations: 115.4 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3522, allocations: 134.6 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.3525, allocations: 233.7 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3526, allocations: 23.91 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3527, allocations: 95.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.353, allocations: 97.62 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.353, allocations: 20 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3532, allocations: 123.9 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3533, allocations: 87.73 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3534, allocations: 103.4 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.3538, allocations: 330.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3538, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3538, allocations: 3.938 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3538, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 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.0008022/0.3546, allocations: 0.565 MB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3547, allocations: 15.98 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.294e-05/0.3547, allocations: 50.67 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.3548, allocations: 32.75 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3551, allocations: 267 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3551, allocations: 16.38 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3552, allocations: 12.38 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.3555, allocations: 216.7 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3555, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3556, allocations: 12 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3556, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/0.3565, allocations: 0.7411 MB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.3573, allocations: 0.5745 MB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.3578, allocations: 287.6 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.358, allocations: 93.38 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.358, allocations: 16.25 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.3583, allocations: 172.9 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.363e-06/0.3583, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.000707/0.359, allocations: 373.2 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.3591, allocations: 144.5 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.3595, allocations: 312.9 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.3595, allocations: 33.7 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.3596, allocations: 124.8 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3597, allocations: 123 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.3598, allocations: 61.69 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3599, allocations: 334.8 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3601, allocations: 79.95 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.3603, allocations: 135.4 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.3606, allocations: 209.6 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3606, allocations: 0 / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004633/0.3611, allocations: 289.1 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3611, allocations: 4 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3611, allocations: 0 / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3611, allocations: 4 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3613, allocations: 63.91 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3614, allocations: 0 / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3615, allocations: 31.81 kB / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3615, allocations: 12 kB / 1.33 GB, free: 9.324 MB / 1.029 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.0001602/0.3617, allocations: 157.8 kB / 1.33 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.3617, allocations: 35.73 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.3625, allocations: 376.9 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3625, allocations: 4 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3625, allocations: 0 / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3625, allocations: 3.938 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.3628, allocations: 333.3 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3628, allocations: 0 / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.363, allocations: 71.91 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.363, allocations: 0 / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.363, allocations: 11.98 kB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.363, allocations: 0 / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.363, allocations: 4 kB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.3635, allocations: 323.2 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3637, allocations: 148.8 kB / 1.332 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3637, allocations: 8 kB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3638, allocations: 19.98 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3639, allocations: 23.91 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.3639, allocations: 12 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002346/0.3642, allocations: 244.4 kB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003215/0.3645, allocations: 71.86 kB / 1.332 GB, free: 7.414 MB / 1.029 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.002332/0.3668, allocations: 1.215 MB / 1.333 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.3673, allocations: 219.6 kB / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3673, allocations: 0 / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3675, allocations: 128.4 kB / 1.334 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3678, allocations: 35.91 kB / 1.334 GB, free: 5.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.3709, allocations: 2.506 MB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3713, allocations: 0.7613 MB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003246/0.3716, allocations: 138.9 kB / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3718, allocations: 103.4 kB / 1.337 GB, free: 2.344 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3718, allocations: 0 / 1.337 GB, free: 2.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.404, allocations: 5.995 MB / 1.343 GB, free: 12.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.568, allocations: 15.97 kB / 1.343 GB, free: 12.43 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.281269091181457]