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.001391/0.001391, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001497/0.001497, allocations: 173 kB / 23.49 MB, free: 1.059 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.212/2.212, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.882e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002358/0.002387, allocations: 1.528 MB / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.003354, allocations: 0.5984 MB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.003432, allocations: 0.8125 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.003464, allocations: 3.938 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.003523, allocations: 8.375 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.003892, allocations: 60.78 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.004016, allocations: 35.84 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004121, allocations: 1.156 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.00429, allocations: 23.92 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.004341, allocations: 16.92 kB / 0.8804 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004359, allocations: 0 / 0.8804 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.004493, allocations: 51.94 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.004507, allocations: 9.062 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.00453, allocations: 0 / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.0047, allocations: 83.66 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004703, allocations: 1.125 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004705, allocations: 0 / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.00471, allocations: 0 / 0.8805 GB, free: 4.207 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.0004392/0.005149, allocations: 385.5 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.005197, allocations: 8.031 kB / 0.8809 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.008773, allocations: 1.143 MB / 0.882 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.008994, allocations: 148.5 kB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.009004, allocations: 384 / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.009032, allocations: 4.375 kB / 0.8822 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.009841, allocations: 334.6 kB / 0.8825 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.009849, allocations: 192 / 0.8825 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.009872, allocations: 384 / 0.8825 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.009882, allocations: 3.938 kB / 0.8825 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.01014, allocations: 99.83 kB / 0.8826 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.01179, allocations: 0.8449 MB / 0.8834 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/0.01262, allocations: 318.8 kB / 0.8837 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.01277, allocations: 63.72 kB / 0.8838 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01279, allocations: 0 / 0.8838 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.01282, allocations: 37.33 kB / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.01282, allocations: 0 / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0005599/0.01338, allocations: 173.6 kB / 0.884 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.01341, allocations: 55.44 kB / 0.884 GB, free: 492 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.0135, allocations: 165.9 kB / 0.8842 GB, free: 308 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.01352, allocations: 25.7 kB / 0.8842 GB, free: 276 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.01357, allocations: 134.9 kB / 0.8844 GB, free: 136 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.01361, allocations: 3.953 kB / 0.8844 GB, free: 132 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.01369, allocations: 35.33 kB / 0.8844 GB, free: 88 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01382, allocations: 496.1 kB / 0.8849 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.01396, allocations: 47.97 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01409, allocations: 39.98 kB / 0.885 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.0143, allocations: 67.67 kB / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.0143, allocations: 0 / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003254/0.01462, allocations: 117.6 kB / 0.8851 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01464, allocations: 11.94 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01465, allocations: 0 / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01466, allocations: 4.031 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.01526, allocations: 183.8 kB / 0.8853 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01527, allocations: 4 kB / 0.8853 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.01578, allocations: 175.8 kB / 0.8855 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.01581, allocations: 3.984 kB / 0.8855 GB, free: 14.94 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 0.0001004/0.01591, allocations: 156.6 kB / 0.8856 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.01596, allocations: 3.938 kB / 0.8857 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.01601, allocations: 23.55 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01601, allocations: 0 / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01602, allocations: 0 / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01602, allocations: 4 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01625, allocations: 229.5 kB / 0.8859 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01625, allocations: 4 kB / 0.8859 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.0168, allocations: 179.8 kB / 0.8861 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.0168, allocations: 3.984 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.01683, allocations: 11.92 kB / 0.8861 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01683, allocations: 0 / 0.8861 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01683, allocations: 4 kB / 0.8861 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.01723, allocations: 267.8 kB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.01724, allocations: 0 / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.01727, allocations: 7.969 kB / 0.8864 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.01779, allocations: 175.8 kB / 0.8865 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.01782, allocations: 0 / 0.8865 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.01784, allocations: 7.969 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.01789, allocations: 139.4 kB / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01789, allocations: 0 / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002135/0.0181, allocations: 36 kB / 0.8867 GB, free: 13.65 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 0.0001282/0.01823, allocations: 95.23 kB / 0.8868 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.01859, allocations: 119.6 kB / 0.8869 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0186, allocations: 4.062 kB / 0.8869 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01875, allocations: 59.66 kB / 0.887 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01897, allocations: 23.97 kB / 0.887 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.01961, allocations: 194.1 kB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.086e-05/0.01965, allocations: 59.34 kB / 0.8872 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.01981, allocations: 32 kB / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.01995, allocations: 20.47 kB / 0.8873 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.192e-06/0.01995, allocations: 4 kB / 0.8873 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.004552/0.0245, allocations: 2.732 MB / 0.8899 GB, free: 10.25 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.457418362144381]