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.001891/0.001891, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002125/0.002125, allocations: 221.8 kB / 22.25 MB, free: 5.102 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.797 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.137/3.137, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.002039/0.002039, allocations: 74.75 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004106/0.4134, allocations: 1.665 MB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.416, allocations: 1.356 MB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.4161, allocations: 8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.4164, allocations: 27.78 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.4169, allocations: 107.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.4174, allocations: 131.6 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.4178, allocations: 253.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4179, allocations: 11.98 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.418, allocations: 79.83 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.4183, allocations: 99.7 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.4184, allocations: 16 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.4187, allocations: 127.9 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.4188, allocations: 83.75 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.419, allocations: 87.52 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.4196, allocations: 326.7 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4196, allocations: 3.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4196, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.4196, allocations: 0 / 1.33 GB, free: 13.09 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.001065/0.4207, allocations: 0.4937 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4208, allocations: 12.03 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.4208, allocations: 54.73 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.4209, allocations: 32.73 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4213, allocations: 209.1 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4213, allocations: 8.375 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.4214, allocations: 16.38 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.4218, allocations: 298.2 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4218, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.4219, allocations: 8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4219, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.4228, allocations: 0.6943 MB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.4237, allocations: 0.5229 MB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.4243, allocations: 280.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.4244, allocations: 93.38 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.4245, allocations: 16.27 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.4249, allocations: 180.8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.4249, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0007865/0.4257, allocations: 373.2 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.4258, allocations: 132.5 kB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.4261, allocations: 324.9 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4261, allocations: 29.7 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.4262, allocations: 128.8 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4264, allocations: 119 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4265, allocations: 61.69 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002932/0.4268, allocations: 338.8 kB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.427, allocations: 79.95 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.4272, allocations: 204.5 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.4275, allocations: 213 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4275, allocations: 0 / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004952/0.428, allocations: 285.2 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4281, allocations: 8 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4281, allocations: 48 / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4281, allocations: 7.984 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4283, allocations: 63.91 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.4283, allocations: 0 / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4285, allocations: 27.81 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.4285, allocations: 8 kB / 1.335 GB, free: 7.555 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.000193/0.4287, allocations: 165.7 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.4288, allocations: 27.81 kB / 1.335 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.4295, allocations: 382.1 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.4295, allocations: 4 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4295, allocations: 4 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4295, allocations: 3.938 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.4299, allocations: 272.5 kB / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4299, allocations: 0 / 1.336 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4301, allocations: 59.91 kB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.4301, allocations: 4 kB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.4301, allocations: 15.94 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4301, allocations: 3.984 kB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4301, allocations: 0 / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.4306, allocations: 326.2 kB / 1.336 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.4308, allocations: 67.69 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.4308, allocations: 12 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.431, allocations: 15.98 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.431, allocations: 23.89 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4311, allocations: 19.98 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000249/0.4313, allocations: 240.4 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4313, allocations: 4 kB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003425/0.4317, allocations: 71.88 kB / 1.337 GB, free: 5.793 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.002608/0.4343, allocations: 1.239 MB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.4347, allocations: 223.8 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4347, allocations: 0 / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4349, allocations: 123.8 kB / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4352, allocations: 39.31 kB / 1.338 GB, free: 4.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.439, allocations: 2.506 MB / 1.341 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4392, allocations: 146.9 kB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.4396, allocations: 142.9 kB / 1.341 GB, free: 1.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4397, allocations: 99.48 kB / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.4397, allocations: 0 / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.4779, allocations: 6.699 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.85, allocations: 3.719 kB / 1.348 GB, free: 10.7 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.861332014988875]