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.001739/0.001739, allocations: 110 kB / 18.94 MB, free: 2.789 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.001882/0.001882, allocations: 192.7 kB / 22.23 MB, free: 5.234 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13 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.922/2.922, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 75.81 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8653, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003453/0.8688, allocations: 1.663 MB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.8708, allocations: 1.26 MB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.8708, allocations: 0 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.8711, allocations: 27.73 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.8714, allocations: 67.67 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.8717, allocations: 142.1 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.8721, allocations: 237.6 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.8722, allocations: 20 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.8723, allocations: 83.77 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.8725, allocations: 91.77 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.8726, allocations: 16 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.8727, allocations: 75.97 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.8729, allocations: 79.75 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.873, allocations: 103.4 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.8734, allocations: 281.4 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8734, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8734, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.8734, allocations: 4 kB / 1.278 GB, free: 44 kB / 0.9669 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.0008998/0.8743, allocations: 481.9 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.8743, allocations: 8.031 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.8744, allocations: 24.8 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.8747, allocations: 218 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.8748, allocations: 8.375 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.8748, allocations: 16.38 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.8752, allocations: 220.9 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8752, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.8752, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8752, allocations: 4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.8762, allocations: 0.7412 MB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.8772, allocations: 0.531 MB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.8777, allocations: 291.6 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.8779, allocations: 93.38 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.878, allocations: 20.25 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.8784, allocations: 172.9 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.8784, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0008289/0.8792, allocations: 373.2 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8793, allocations: 136.5 kB / 1.282 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.8796, allocations: 300 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.8797, allocations: 33.7 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8798, allocations: 132.7 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.8799, allocations: 115 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.88, allocations: 65.69 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.8802, allocations: 342.7 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.8804, allocations: 83.95 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.8806, allocations: 129.3 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.881, allocations: 217.1 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.881, allocations: 0 / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005044/0.8815, allocations: 277.3 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8815, allocations: 4 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8815, allocations: 0 / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.8815, allocations: 4 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.8818, allocations: 59.91 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8818, allocations: 4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.882, allocations: 35.77 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.882, allocations: 15.98 kB / 1.283 GB, free: 10.72 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.000192/0.8822, allocations: 165.7 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.8822, allocations: 23.86 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.883, allocations: 372.7 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.883, allocations: 7.984 kB / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.883, allocations: 0 / 1.284 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.883, allocations: 7.922 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.8834, allocations: 308.3 kB / 1.284 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8834, allocations: 0 / 1.284 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.8836, allocations: 59.91 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8836, allocations: 4 kB / 1.284 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.8836, allocations: 11.98 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8836, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8836, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.8841, allocations: 327.4 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.8843, allocations: 63.69 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.8843, allocations: 12 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.8844, allocations: 14.52 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.8845, allocations: 27.95 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.8845, allocations: 19.92 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002259/0.8848, allocations: 229.6 kB / 1.285 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8848, allocations: 0 / 1.285 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003192/0.8851, allocations: 63.92 kB / 1.285 GB, free: 8.965 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.001519/0.8866, allocations: 408.7 kB / 1.285 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.8871, allocations: 227.8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8871, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.8873, allocations: 115.8 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.8876, allocations: 42.62 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.8885, allocations: 0.499 MB / 1.286 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.8889, allocations: 0.7613 MB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.8893, allocations: 142.9 kB / 1.287 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.8894, allocations: 43.41 kB / 1.287 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8894, allocations: 0 / 1.287 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.008175/0.8975, allocations: 3.174 MB / 1.29 GB, free: 3.676 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/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: 9.248336947523057]