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.001877/0.001877, allocations: 81.5 kB / 19.44 MB, free: 344 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.001984/0.001984, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.394/3.394, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8775 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.625e-05, allocations: 6.312 kB / 0.8775 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001768/0.001795, allocations: 0.6037 MB / 0.8781 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.002241, allocations: 158.9 kB / 0.8782 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.002272, allocations: 0.7656 kB / 0.8782 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.002286, allocations: 1.094 kB / 0.8782 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.002315, allocations: 0 / 0.8782 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.00265, allocations: 36.38 kB / 0.8783 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.002707, allocations: 22.44 kB / 0.8783 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.002749, allocations: 4 kB / 0.8783 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.00279, allocations: 8.531 kB / 0.8783 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.00287, allocations: 6.156 kB / 0.8783 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.002889, allocations: 4 kB / 0.8783 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.002983, allocations: 35.94 kB / 0.8784 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.002998, allocations: 1.859 kB / 0.8784 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.00302, allocations: 9.312 kB / 0.8784 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003132, allocations: 32.81 kB / 0.8784 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003135, allocations: 0 / 0.8784 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.9e-07/0.003135, allocations: 0.875 kB / 0.8784 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00314, allocations: 0 / 0.8784 GB, free: 4.555 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004967/0.003636, allocations: 362.3 kB / 0.8787 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003674, allocations: 12.02 kB / 0.8788 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.003721, allocations: 8.891 kB / 0.8788 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.003845, allocations: 109.6 kB / 0.8789 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.003859, allocations: 384 / 0.8789 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.003889, allocations: 13.02 kB / 0.8789 GB, free: 4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.00403, allocations: 69.33 kB / 0.879 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00404, allocations: 4.188 kB / 0.879 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.004051, allocations: 4.375 kB / 0.879 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.004055, allocations: 384 / 0.879 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.00411, allocations: 17.05 kB / 0.879 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.004293, allocations: 117.8 kB / 0.8791 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004418, allocations: 55.11 kB / 0.8791 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.00446, allocations: 31.14 kB / 0.8792 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/0.004526, allocations: 0 / 0.8792 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.004565, allocations: 37.39 kB / 0.8792 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.004566, allocations: 0 / 0.8792 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.001321/0.005887, allocations: 420.4 kB / 0.8796 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.005932, allocations: 59.34 kB / 0.8797 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.006048, allocations: 153.9 kB / 0.8798 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.006068, allocations: 30.95 kB / 0.8798 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.006141, allocations: 130.9 kB / 0.88 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.006176, allocations: 23.75 kB / 0.88 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.006229, allocations: 31.36 kB / 0.88 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.006497, allocations: 496.1 kB / 0.8805 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.00653, allocations: 11.98 kB / 0.8805 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.006557, allocations: 16.56 kB / 0.8805 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.006636, allocations: 39.67 kB / 0.8806 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006637, allocations: 0 / 0.8806 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001299/0.006767, allocations: 73.67 kB / 0.8806 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.006781, allocations: 5.719 kB / 0.8806 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.006792, allocations: 8 kB / 0.8806 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.006806, allocations: 224 / 0.8806 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.006883, allocations: 11.94 kB / 0.8807 GB, free: 2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.006893, allocations: 11.88 kB / 0.8807 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.006916, allocations: 0 / 0.8807 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.006923, allocations: 0 / 0.8807 GB, free: 1.988 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 (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 0.0001172/0.00704, allocations: 168.6 kB / 0.8808 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.007055, allocations: 4 kB / 0.8808 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.007255, allocations: 93.83 kB / 0.8809 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007257, allocations: 0 / 0.8809 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.007262, allocations: 3.938 kB / 0.8809 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007265, allocations: 0 / 0.8809 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.007398, allocations: 120.6 kB / 0.881 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007399, allocations: 0 / 0.881 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.00748, allocations: 12 kB / 0.881 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007481, allocations: 4 kB / 0.8811 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007489, allocations: 0 / 0.8811 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.00749, allocations: 0 / 0.8811 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007491, allocations: 4 kB / 0.8811 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.007717, allocations: 132.3 kB / 0.8812 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.007727, allocations: 7.953 kB / 0.8812 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.007745, allocations: 7.984 kB / 0.8812 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.007783, allocations: 0 / 0.8812 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.007808, allocations: 7.984 kB / 0.8812 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.007819, allocations: 7.922 kB / 0.8812 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.32e-05/0.007892, allocations: 127.2 kB / 0.8813 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007892, allocations: 4 kB / 0.8813 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002122/0.008104, allocations: 27.94 kB / 0.8814 GB, free: 1.195 MB / 0.7917 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.000238/0.008342, allocations: 127.2 kB / 0.8815 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.008477, allocations: 51.59 kB / 0.8815 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008479, allocations: 0 / 0.8815 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.008531, allocations: 31.67 kB / 0.8816 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.008669, allocations: 5.875 kB / 0.8816 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.009004, allocations: 142.4 kB / 0.8817 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.009074, allocations: 75.28 kB / 0.8818 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.009108, allocations: 4 kB / 0.8818 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.009133, allocations: 12.44 kB / 0.8818 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of SimCode: time 4.61e-07/0.009134, allocations: 4 kB / 0.8818 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of Templates: time 0.004158/0.01329, allocations: 0.8971 MB / 0.8827 GB, free: 15.8 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] 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/jenkins/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.31935652892571]