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.001892/0.001892, allocations: 93.47 kB / 19.44 MB, free: 332 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.002223/0.002223, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.357/3.357, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.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 2.805e-06/2.805e-06, allocations: 0 / 0.8774 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.161e-05/5.441e-05, allocations: 4.016 kB / 0.8775 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.004345/0.0044, allocations: 1.458 MB / 0.8789 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006406/0.00504, allocations: 199.5 kB / 0.8791 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.005082, allocations: 0 / 0.8791 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.00511, allocations: 0 / 0.8791 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.005187, allocations: 10 kB / 0.8791 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.005528, allocations: 35.89 kB / 0.8791 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.005627, allocations: 28.91 kB / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005733, allocations: 0 / 0.8791 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.005814, allocations: 20.86 kB / 0.8792 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.005851, allocations: 0 / 0.8792 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.005872, allocations: 5.125 kB / 0.8792 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.006008, allocations: 35.95 kB / 0.8792 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.006029, allocations: 7.984 kB / 0.8792 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.006055, allocations: 5.094 kB / 0.8792 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.00624, allocations: 47.81 kB / 0.8793 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.006244, allocations: 0 / 0.8793 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.553e-06/0.006246, allocations: 1.062 kB / 0.8793 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.006251, allocations: 0 / 0.8793 GB, free: 3.676 MB / 0.7917 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.0006619/0.006913, allocations: 368.2 kB / 0.8796 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.006966, allocations: 13.3 kB / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.007018, allocations: 0.9375 kB / 0.8796 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.007177, allocations: 120.6 kB / 0.8797 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.007191, allocations: 1.719 kB / 0.8797 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.007206, allocations: 4.375 kB / 0.8797 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.007394, allocations: 46.19 kB / 0.8798 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.007411, allocations: 7.391 kB / 0.8798 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.007421, allocations: 384 / 0.8798 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.007425, allocations: 384 / 0.8798 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.007584, allocations: 27.92 kB / 0.8798 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.008057, allocations: 247.8 kB / 0.8801 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.008211, allocations: 46.98 kB / 0.8801 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.008295, allocations: 15.75 kB / 0.8801 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.008377, allocations: 12.58 kB / 0.8801 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.008424, allocations: 43.05 kB / 0.8802 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.008426, allocations: 0 / 0.8802 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.008826, allocations: 65.62 kB / 0.8802 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.008885, allocations: 55.89 kB / 0.8803 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.00905, allocations: 163.3 kB / 0.8804 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.009075, allocations: 33.58 kB / 0.8805 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.009176, allocations: 126.9 kB / 0.8806 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.009205, allocations: 15.94 kB / 0.8806 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.009261, allocations: 16.88 kB / 0.8806 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003193/0.009581, allocations: 0.4884 MB / 0.8811 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.009664, allocations: 7.984 kB / 0.8811 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.00973, allocations: 16.38 kB / 0.8811 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.009866, allocations: 31.67 kB / 0.8812 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.009871, allocations: 4 kB / 0.8812 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.01008, allocations: 57.62 kB / 0.8812 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.0101, allocations: 8 kB / 0.8812 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.01011, allocations: 3.938 kB / 0.8812 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01012, allocations: 0 / 0.8812 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.0102, allocations: 7.938 kB / 0.8812 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01021, allocations: 4.094 kB / 0.8812 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.01025, allocations: 4 kB / 0.8812 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.01026, allocations: 0 / 0.8812 GB, free: 1.445 MB / 0.7917 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.0001486/0.01041, allocations: 160.6 kB / 0.8814 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.01045, allocations: 4 kB / 0.8814 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.01071, allocations: 60.92 kB / 0.8815 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01071, allocations: 4 kB / 0.8815 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01072, allocations: 0 / 0.8815 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01072, allocations: 0 / 0.8815 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.01093, allocations: 116.7 kB / 0.8816 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01094, allocations: 0 / 0.8816 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.011, allocations: 7.984 kB / 0.8816 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.011, allocations: 4 kB / 0.8816 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01101, allocations: 0 / 0.8816 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01101, allocations: 7.875 kB / 0.8816 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01101, allocations: 0 / 0.8816 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.01134, allocations: 203.9 kB / 0.8818 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01135, allocations: 7.891 kB / 0.8818 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.01137, allocations: 4.031 kB / 0.8818 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.01146, allocations: 7.938 kB / 0.8818 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.01152, allocations: 4 kB / 0.8818 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01153, allocations: 3.984 kB / 0.8818 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001024/0.01163, allocations: 131.1 kB / 0.8819 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01163, allocations: 0 / 0.8819 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003719/0.012, allocations: 8 kB / 0.8819 GB, free: 0.6523 MB / 0.7917 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.0002504/0.01225, allocations: 103.2 kB / 0.882 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.0125, allocations: 43.59 kB / 0.8821 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0125, allocations: 0 / 0.8821 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.0126, allocations: 19.69 kB / 0.8821 GB, free: 480 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.01296, allocations: 7.984 kB / 0.8821 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.01338, allocations: 114.4 kB / 0.8822 GB, free: 328 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.01347, allocations: 59.34 kB / 0.8823 GB, free: 248 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.01351, allocations: 4 kB / 0.8823 GB, free: 244 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.01354, allocations: 8.5 kB / 0.8823 GB, free: 236 kB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.01354, allocations: 4.125 kB / 0.8823 GB, free: 232 kB / 0.7917 GB Notification: Performance of Templates: time 0.004897/0.01844, allocations: 0.6369 MB / 0.8829 GB, free: 15.6 MB / 0.8073 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.431785238091834]