Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.00108/0.00108, allocations: 93.16 kB / 19.65 MB, free: 292 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.001168/0.001168, allocations: 172.9 kB / 23.02 MB, free: 1.562 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 0.9243/0.9243, allocations: 177.1 MB / 203.4 MB, free: 5.617 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 1.997/1.997, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.574e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001626/0.001642, allocations: 1.527 MB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000695/0.002337, allocations: 0.5974 MB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.002383, allocations: 0 / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.00241, allocations: 8.5 kB / 0.8803 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.002453, allocations: 5.031 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.002704, allocations: 59.75 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.002796, allocations: 40.44 kB / 0.8804 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.002869, allocations: 7.984 kB / 0.8804 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.002976, allocations: 21.36 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.003015, allocations: 8 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.003028, allocations: 4 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.003127, allocations: 59.78 kB / 0.8805 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.003136, allocations: 4 kB / 0.8805 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.003155, allocations: 11.92 kB / 0.8805 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003274, allocations: 67.84 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003276, allocations: 0 / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003277, allocations: 4 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.00328, allocations: 0 / 0.8805 GB, free: 3.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003212/0.003601, allocations: 384.2 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.003634, allocations: 12.02 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.007101, allocations: 1.136 MB / 0.882 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.007286, allocations: 160.4 kB / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.007295, allocations: 384 / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.007321, allocations: 384 / 0.8822 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.008099, allocations: 334.6 kB / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.008109, allocations: 192 / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.008131, allocations: 4.375 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.008141, allocations: 3.938 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.008391, allocations: 91.95 kB / 0.8826 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.009923, allocations: 0.8371 MB / 0.8834 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.01068, allocations: 318.8 kB / 0.8837 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.01082, allocations: 59.73 kB / 0.8838 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.01084, allocations: 8 kB / 0.8838 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.01086, allocations: 37.33 kB / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.01086, allocations: 0 / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0005048/0.01136, allocations: 169.5 kB / 0.884 GB, free: 272 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.0114, allocations: 51.41 kB / 0.884 GB, free: 208 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.01147, allocations: 169.9 kB / 0.8842 GB, free: 20 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.01151, allocations: 29.83 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.01155, allocations: 134.9 kB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.01159, allocations: 11.89 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.01166, allocations: 27.34 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.01178, allocations: 0.4884 MB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.01191, allocations: 39.98 kB / 0.8849 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.01204, allocations: 47.97 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.01222, allocations: 63.69 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01222, allocations: 0 / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002997/0.01252, allocations: 125.5 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01254, allocations: 7.938 kB / 0.8851 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01254, allocations: 0 / 0.8851 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01255, allocations: 4 kB / 0.8851 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.01311, allocations: 191.8 kB / 0.8853 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.01312, allocations: 0 / 0.8853 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.01359, allocations: 171.8 kB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.01361, allocations: 11.97 kB / 0.8855 GB, free: 14.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.918e-05/0.01369, allocations: 152.6 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.01374, allocations: 7.938 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.01378, allocations: 15.62 kB / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01378, allocations: 0 / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01379, allocations: 0 / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01379, allocations: 0 / 0.8857 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.01401, allocations: 229.6 kB / 0.8859 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01401, allocations: 3.984 kB / 0.8859 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.01457, allocations: 187.8 kB / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01457, allocations: 0 / 0.8861 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.01459, allocations: 11.92 kB / 0.8861 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01459, allocations: 0 / 0.8861 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0146, allocations: 0 / 0.8861 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.01496, allocations: 271.8 kB / 0.8863 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-06/0.01497, allocations: 8 kB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.015, allocations: 3.938 kB / 0.8863 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.01549, allocations: 175.9 kB / 0.8865 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.01552, allocations: 8 kB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01554, allocations: 3.984 kB / 0.8865 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.01558, allocations: 135.2 kB / 0.8867 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01558, allocations: 0 / 0.8867 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001976/0.01577, allocations: 39.94 kB / 0.8867 GB, free: 13.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.339e-05/0.01585, allocations: 91.25 kB / 0.8868 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.01617, allocations: 107.6 kB / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01617, allocations: 0 / 0.8869 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.01632, allocations: 75.7 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.0165, allocations: 27.91 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.017, allocations: 194.1 kB / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.01704, allocations: 51.36 kB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.01718, allocations: 32 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.01731, allocations: 24.47 kB / 0.8873 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.2e-07/0.01732, allocations: 0 / 0.8873 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.00459/0.0219, allocations: 2.855 MB / 0.8901 GB, free: 9.832 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.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.2129606027156115]