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.001709/0.001709, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002156/0.002156, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.238/3.238, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.863e-06/1.863e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.674e-05, allocations: 3.219 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003231/0.003257, allocations: 1.672 MB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.00564, allocations: 1.369 MB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.005707, allocations: 7.938 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.005953, allocations: 24.72 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.006381, allocations: 116.4 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.00677, allocations: 136.6 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.007136, allocations: 257.5 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.007246, allocations: 17.11 kB / 0.8811 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.007424, allocations: 111.8 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.007631, allocations: 87.75 kB / 0.8813 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.007674, allocations: 21.06 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.007899, allocations: 115.9 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.008034, allocations: 91.73 kB / 0.8815 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.008138, allocations: 64.47 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.00867, allocations: 358.7 kB / 0.8819 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008674, allocations: 0.5938 kB / 0.8819 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.008674, allocations: 5.312 kB / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00868, allocations: 0 / 0.8819 GB, free: 2.059 MB / 0.8386 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.0009462/0.009626, allocations: 0.4901 MB / 0.8824 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.009662, allocations: 8.625 kB / 0.8824 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.009778, allocations: 40.75 kB / 0.8824 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.01012, allocations: 218.1 kB / 0.8827 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.01015, allocations: 12.7 kB / 0.8827 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.01019, allocations: 24.36 kB / 0.8827 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.01089, allocations: 298.9 kB / 0.883 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.0109, allocations: 192 / 0.883 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.01094, allocations: 8.125 kB / 0.883 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.01094, allocations: 4 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.01195, allocations: 0.6989 MB / 0.8837 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.01293, allocations: 485.7 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.01349, allocations: 300.2 kB / 0.8844 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.01367, allocations: 100.8 kB / 0.8845 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.01372, allocations: 20.27 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.01414, allocations: 169.1 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.01414, allocations: 0 / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0008163/0.01496, allocations: 395 kB / 0.8851 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.01508, allocations: 140.5 kB / 0.8852 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.01547, allocations: 309.7 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.01551, allocations: 33.7 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01563, allocations: 133.6 kB / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.01576, allocations: 119 kB / 0.8858 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.01588, allocations: 65.69 kB / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.01609, allocations: 342.8 kB / 0.8862 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01626, allocations: 83.95 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.01655, allocations: 208.5 kB / 0.8864 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.01695, allocations: 222.3 kB / 0.8867 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01695, allocations: 0 / 0.8867 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005485/0.0175, allocations: 301.1 kB / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01751, allocations: 4 kB / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01752, allocations: 0 / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.01754, allocations: 4 kB / 0.887 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.0178, allocations: 63.91 kB / 0.887 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.01781, allocations: 0 / 0.887 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.01799, allocations: 35.77 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.01802, allocations: 20 kB / 0.8871 GB, free: 12.55 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 0.0002089/0.01823, allocations: 173.6 kB / 0.8872 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.01832, allocations: 39.81 kB / 0.8873 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/0.01912, allocations: 376.9 kB / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01912, allocations: 0 / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01912, allocations: 4 kB / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.01913, allocations: 3.984 kB / 0.8876 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.01946, allocations: 237 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01946, allocations: 0 / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.01965, allocations: 55.91 kB / 0.8879 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.01966, allocations: 8 kB / 0.8879 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.01968, allocations: 11.98 kB / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01968, allocations: 0 / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01969, allocations: 3.938 kB / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.02027, allocations: 346.5 kB / 0.8883 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.0204, allocations: 75.69 kB / 0.8883 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.02044, allocations: 4 kB / 0.8883 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02059, allocations: 19.22 kB / 0.8884 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.02067, allocations: 27.81 kB / 0.8884 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.0207, allocations: 12 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002722/0.02097, allocations: 245.2 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02097, allocations: 0 / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003454/0.02131, allocations: 79.86 kB / 0.8887 GB, free: 10.8 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.001998/0.02331, allocations: 496.1 kB / 0.8892 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.02378, allocations: 227.7 kB / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02378, allocations: 0 / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.02401, allocations: 127.7 kB / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.0243, allocations: 51.36 kB / 0.8896 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.02553, allocations: 0.5186 MB / 0.8901 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.02572, allocations: 151.4 kB / 0.8902 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.02605, allocations: 138.9 kB / 0.8904 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.02616, allocations: 48.48 kB / 0.8904 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.02616, allocations: 0 / 0.8904 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.008952/0.03512, allocations: 3.452 MB / 0.8938 GB, free: 5.789 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.513979600043967]