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.001904/0.001904, 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.002397/0.002397, allocations: 210.2 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.793 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.342/3.342, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [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.002126/0.002126, allocations: 74.31 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4166, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003308/0.4199, allocations: 1.651 MB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4222, allocations: 1.367 MB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.4223, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.4225, allocations: 31.78 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.4229, allocations: 115.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.4233, allocations: 126.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.4237, allocations: 249.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4238, allocations: 19.98 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.424, allocations: 79.81 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.4242, allocations: 91.64 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.4243, allocations: 20 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.4245, allocations: 116 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.4246, allocations: 83.73 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.4247, allocations: 91.45 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.4252, allocations: 326.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4252, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4252, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4252, allocations: 0 / 1.33 GB, free: 13.46 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.0009229/0.4261, allocations: 0.4976 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4262, allocations: 8.031 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.4263, allocations: 32.75 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4267, allocations: 205.1 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4267, allocations: 12.38 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.4267, allocations: 12.38 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.4272, allocations: 310.3 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4272, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.4272, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4272, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.4282, allocations: 0.6904 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.4292, allocations: 496 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.4297, allocations: 280.8 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.4299, allocations: 93.38 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.43, allocations: 16.27 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.4305, allocations: 180.8 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.4305, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008061/0.4313, allocations: 369.2 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.4314, allocations: 136.5 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.4318, allocations: 312.9 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.4318, allocations: 33.7 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.432, allocations: 128.8 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.4321, allocations: 111 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.4322, allocations: 65.69 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.4324, allocations: 346.7 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4326, allocations: 79.95 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.4329, allocations: 204.5 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.4333, allocations: 217 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4333, allocations: 3.984 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004815/0.4338, allocations: 281.3 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4338, allocations: 4 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4338, allocations: 0 / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4338, allocations: 4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4341, allocations: 59.91 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4341, allocations: 3.938 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4342, allocations: 27.88 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.4342, allocations: 8 kB / 1.335 GB, free: 8.043 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.000202/0.4344, allocations: 169.7 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.4345, allocations: 31.81 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007237/0.4352, allocations: 378.1 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.4352, allocations: 8 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4352, allocations: 3.938 kB / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4352, allocations: 0 / 1.335 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.4355, allocations: 245 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4355, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4357, allocations: 52.02 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4357, allocations: 7.984 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4357, allocations: 11.98 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4357, allocations: 7.922 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4357, allocations: 0 / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.4363, allocations: 322.3 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4364, allocations: 75.69 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.4364, allocations: 7.984 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.4366, allocations: 12 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.4366, allocations: 31.94 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.4366, allocations: 8 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002452/0.4369, allocations: 244.4 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4369, allocations: 0 / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003461/0.4372, allocations: 79.8 kB / 1.336 GB, free: 6.32 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.001867/0.4391, allocations: 489.5 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.4396, allocations: 227.6 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4396, allocations: 0 / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.4398, allocations: 119.8 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.4401, allocations: 33.23 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.441, allocations: 0.5093 MB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.4411, allocations: 146.9 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003321/0.4415, allocations: 142.9 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4416, allocations: 47.41 kB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4416, allocations: 3.938 kB / 1.338 GB, free: 4.762 MB / 1.029 GB Notification: Performance of Templates: time 0.008602/0.4502, allocations: 3.53 MB / 1.342 GB, free: 1.254 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/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: 9.522547828033566]