Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001307/0.001307, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.00145/0.00145, allocations: 165 kB / 24.05 MB, free: 452 kB / 18.57 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 0.99/0.99, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.085/2.085, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.334e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002869/0.002892, allocations: 1.708 MB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004642, allocations: 1.408 MB / 0.8825 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.004713, allocations: 1.594 kB / 0.8825 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.004935, allocations: 31.72 kB / 0.8825 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.005306, allocations: 113.1 kB / 0.8826 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.005606, allocations: 135.6 kB / 0.8827 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.005904, allocations: 249.5 kB / 0.883 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.006001, allocations: 12 kB / 0.883 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02661/0.03261, allocations: 9.686 MB / 0.8924 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.03272, allocations: 75.77 kB / 0.8925 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.03275, allocations: 23.98 kB / 0.8925 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.03285, allocations: 51.94 kB / 0.8926 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.03292, allocations: 95.78 kB / 0.8927 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.03298, allocations: 59.78 kB / 0.8927 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.03325, allocations: 239 kB / 0.893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.03325, allocations: 0 / 0.893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.81e-07/0.03325, allocations: 0 / 0.893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.03326, allocations: 0 / 0.893 GB, free: 11.45 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005412/0.0338, allocations: 0.5706 MB / 0.8935 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.03383, allocations: 12.02 kB / 0.8935 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.03393, allocations: 40.75 kB / 0.8936 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.03417, allocations: 254.2 kB / 0.8938 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.03419, allocations: 16.7 kB / 0.8938 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.03421, allocations: 16.38 kB / 0.8938 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.03444, allocations: 244.1 kB / 0.8941 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.03445, allocations: 192 / 0.8941 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.03447, allocations: 12.12 kB / 0.8941 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.03447, allocations: 4 kB / 0.8941 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.03493, allocations: 0.5579 MB / 0.8946 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.03543, allocations: 460.2 kB / 0.8951 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.03569, allocations: 158 kB / 0.8952 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.03575, allocations: 60.14 kB / 0.8953 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.03578, allocations: 24.2 kB / 0.8953 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.03593, allocations: 126.7 kB / 0.8954 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 1.303e-06/0.03593, allocations: 0 / 0.8954 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.000311/0.03624, allocations: 251.1 kB / 0.8957 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.03629, allocations: 106.8 kB / 0.8958 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.03642, allocations: 268.2 kB / 0.896 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.03645, allocations: 37.7 kB / 0.896 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.03651, allocations: 175.4 kB / 0.8962 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.03658, allocations: 119 kB / 0.8963 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.03665, allocations: 87.3 kB / 0.8964 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.03691, allocations: 0.5118 MB / 0.8969 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.03696, allocations: 35.97 kB / 0.8969 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.03705, allocations: 136.5 kB / 0.8971 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.03718, allocations: 119.8 kB / 0.8972 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.03718, allocations: 0 / 0.8972 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000201/0.03738, allocations: 208.9 kB / 0.8974 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.03739, allocations: 4 kB / 0.8974 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.03739, allocations: 0 / 0.8974 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.0374, allocations: 4 kB / 0.8974 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.03754, allocations: 67.89 kB / 0.8975 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.03754, allocations: 8.031 kB / 0.8975 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.0376, allocations: 15.89 kB / 0.8975 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.03762, allocations: 15.97 kB / 0.8975 GB, free: 6.523 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (37): * Single equations (assignments): 37 * 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 8.574e-05/0.0377, allocations: 176.5 kB / 0.8977 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.03774, allocations: 43.75 kB / 0.8977 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.03806, allocations: 288.7 kB / 0.898 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.03806, allocations: 4 kB / 0.898 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.03806, allocations: 0 / 0.898 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.03807, allocations: 7.984 kB / 0.898 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.03821, allocations: 197 kB / 0.8982 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.03822, allocations: 0 / 0.8982 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.03831, allocations: 63.91 kB / 0.8982 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.03832, allocations: 7.938 kB / 0.8983 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.03833, allocations: 8 kB / 0.8983 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.03833, allocations: 3.984 kB / 0.8983 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.03833, allocations: 0 / 0.8983 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.03854, allocations: 249.9 kB / 0.8985 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.0386, allocations: 67.69 kB / 0.8986 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.03863, allocations: 7.938 kB / 0.8986 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.03868, allocations: 11.98 kB / 0.8986 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.03872, allocations: 27.95 kB / 0.8986 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.03873, allocations: 8 kB / 0.8986 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.03881, allocations: 193.1 kB / 0.8988 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.03881, allocations: 0 / 0.8988 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001751/0.03898, allocations: 48 kB / 0.8989 GB, free: 5.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006576/0.03964, allocations: 359.1 kB / 0.8992 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.03983, allocations: 155.2 kB / 0.8993 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03983, allocations: 4 kB / 0.8993 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.03991, allocations: 99.41 kB / 0.8994 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.04008, allocations: 44.41 kB / 0.8995 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.04063, allocations: 420.7 kB / 0.8999 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.04068, allocations: 93.81 kB / 0.9 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.0408, allocations: 82.94 kB / 0.9001 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.04094, allocations: 146.1 kB / 0.9002 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.04094, allocations: 0 / 0.9002 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of Templates: time 0.004817/0.04575, allocations: 3.139 MB / 0.9033 GB, free: 0.6211 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.381942844949663]