Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.002184/0.002184, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002342/0.002342, allocations: 162.8 kB / 23.01 MB, free: 4.594 MB / 14.72 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 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 2.899/2.899, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7969, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001628/0.7985, allocations: 0.6133 MB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003698/0.7989, allocations: 140.9 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.7989, allocations: 0 / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.7989, allocations: 4 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.15e-05/0.7989, allocations: 0 / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.7992, allocations: 39.53 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.7993, allocations: 17.44 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.7993, allocations: 5.984 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.7993, allocations: 8.719 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.7994, allocations: 13.17 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.7994, allocations: 1.375 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.863e-05/0.7995, allocations: 31.69 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.7995, allocations: 2.781 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.7995, allocations: 15.39 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.678e-05/0.7996, allocations: 34.25 kB / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7996, allocations: 0 / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7996, allocations: 0.6562 kB / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7996, allocations: 0 / 1.188 GB, free: 15.65 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003026/0.7999, allocations: 254.1 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.8, allocations: 9.312 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.8, allocations: 2.984 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.8001, allocations: 104.7 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.8001, allocations: 5.719 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.8001, allocations: 2.875 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.8002, allocations: 76.23 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.8002, allocations: 4.125 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8002, allocations: 5.531 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8002, allocations: 0.7031 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.8003, allocations: 15.06 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.8004, allocations: 108 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.8005, allocations: 43.28 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.8005, allocations: 18.11 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.8006, allocations: 9.5 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.8006, allocations: 41.14 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.8006, allocations: 0 / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.001115/0.8017, allocations: 416.7 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.8018, allocations: 52.66 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.82e-05/0.8018, allocations: 96.48 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.8018, allocations: 27.11 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/0.8018, allocations: 80.14 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.8018, allocations: 25.83 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.8019, allocations: 21.3 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.8019, allocations: 313.6 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.8019, allocations: 16.25 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.802, allocations: 14.78 kB / 1.189 GB, free: 13.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.802, allocations: 42.92 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.802, allocations: 1.406 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.47e-05/0.8021, allocations: 71.08 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8021, allocations: 6.609 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8021, allocations: 3.938 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8022, allocations: 1.094 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.8022, allocations: 13.44 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8022, allocations: 4.766 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.8023, allocations: 9.25 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.8023, allocations: 3.359 kB / 1.189 GB, free: 13.9 MB / 1.076 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 (8): * Single equations (assignments): 8 * 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 4.038e-05/0.8023, allocations: 115 kB / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.8023, allocations: 3.531 kB / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.8025, allocations: 83.83 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8025, allocations: 1.094 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.8025, allocations: 0 / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8025, allocations: 1.938 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.214e-05/0.8025, allocations: 106.1 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8025, allocations: 1.062 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.8026, allocations: 24.75 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8026, allocations: 0.6562 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.8026, allocations: 1.188 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8026, allocations: 6.188 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8026, allocations: 4 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.8028, allocations: 115.4 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.8028, allocations: 6.188 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.8028, allocations: 1.797 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.8029, allocations: 5.672 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.8029, allocations: 4.875 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8029, allocations: 6.312 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.8029, allocations: 77.14 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8029, allocations: 1.25 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002217/0.8031, allocations: 33.28 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001768/0.8033, allocations: 128.1 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.8034, allocations: 35.38 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8034, allocations: 5.031 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.8035, allocations: 23.03 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.8036, allocations: 16.86 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.8039, allocations: 138.5 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.804, allocations: 65.3 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.804, allocations: 4.688 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.804, allocations: 13.08 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.804, allocations: 0 / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Templates: time 0.003744/0.8077, allocations: 0.8528 MB / 1.191 GB, free: 12.96 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.500479702022858]