Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.001365/0.001365, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00132/0.00132, allocations: 169 kB / 24.06 MB, free: 456 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.9192/0.9192, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.762e-05, allocations: 10.02 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00179/0.001808, allocations: 1.509 MB / 0.8809 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.002178, allocations: 185.7 kB / 0.881 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.002226, allocations: 0 / 0.881 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.002265, allocations: 1.344 kB / 0.881 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.002343, allocations: 9.672 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.002662, allocations: 39.84 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.002734, allocations: 29.61 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.002827, allocations: 4 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.002886, allocations: 20.58 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.002921, allocations: 0.6562 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.002935, allocations: 4 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.003028, allocations: 33.56 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.003047, allocations: 3.984 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.003065, allocations: 8 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003179, allocations: 43.81 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003181, allocations: 1.625 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003181, allocations: 0 / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003186, allocations: 0 / 0.8812 GB, free: 4.141 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.0003789/0.003564, allocations: 368.6 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.003602, allocations: 14.97 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.003631, allocations: 4.891 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.003728, allocations: 112.6 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.003739, allocations: 384 / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.003747, allocations: 4.375 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.003854, allocations: 50.95 kB / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00386, allocations: 192 / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.003868, allocations: 384 / 0.8818 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.003876, allocations: 5.078 kB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.003899, allocations: 11.92 kB / 0.8818 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.004157, allocations: 226.1 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.095e-05/0.004208, allocations: 35.03 kB / 0.882 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.004228, allocations: 19.73 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.004273, allocations: 1.344 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.004298, allocations: 41.39 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.004299, allocations: 0 / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001261/0.004425, allocations: 41.7 kB / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.004453, allocations: 59.39 kB / 0.8822 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.004519, allocations: 165.9 kB / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.004528, allocations: 25.7 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.00457, allocations: 134.8 kB / 0.8825 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.004587, allocations: 11.88 kB / 0.8825 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.004612, allocations: 19.38 kB / 0.8825 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004718, allocations: 492.1 kB / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.004728, allocations: 4 kB / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.004735, allocations: 0 / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.004758, allocations: 20 kB / 0.883 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004759, allocations: 0 / 0.883 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.004809, allocations: 45.62 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.004821, allocations: 4 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004825, allocations: 4 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004835, allocations: 3.938 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.00489, allocations: 4 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004892, allocations: 0 / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.00491, allocations: 7.984 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004913, allocations: 0 / 0.8831 GB, free: 2.047 MB / 0.8386 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 5.837e-05/0.004972, allocations: 156.6 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.004987, allocations: 4 kB / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.005052, allocations: 41 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.005056, allocations: 7.938 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005058, allocations: 0 / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00506, allocations: 0 / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.005149, allocations: 101.2 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.00515, allocations: 3.938 kB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.005167, allocations: 4 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005168, allocations: 0 / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.005173, allocations: 8.031 kB / 0.8834 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005174, allocations: 0 / 0.8834 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005175, allocations: 4 kB / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.665e-05/0.005261, allocations: 187.8 kB / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.005266, allocations: 0 / 0.8836 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.005275, allocations: 4 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.005303, allocations: 0 / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.005331, allocations: 7.984 kB / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.005334, allocations: 7.875 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.005371, allocations: 127.2 kB / 0.8837 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005371, allocations: 4.031 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001483/0.005519, allocations: 8 kB / 0.8837 GB, free: 1.32 MB / 0.8386 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.000107/0.005626, allocations: 111.1 kB / 0.8838 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.005687, allocations: 19.67 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.005687, allocations: 0 / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.005704, allocations: 11.69 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.005871, allocations: 4 kB / 0.8839 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.006055, allocations: 110.5 kB / 0.884 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.006089, allocations: 63.47 kB / 0.884 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.006105, allocations: 3.938 kB / 0.884 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.006149, allocations: 70.2 kB / 0.8841 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.00615, allocations: 0 / 0.8841 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of Templates: time 0.002141/0.00829, allocations: 0.7109 MB / 0.8848 GB, free: 172 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.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.25572933582589]