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.00087/0.00087, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002093, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007857/0.0007857, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009657/0.001751, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.088/1.088, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.189, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.431/2.431, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2342/2.665, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.412e-06/1.412e-06, allocations: 0 / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.035e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009491/0.0009595, allocations: 0.6617 MB / 0.819 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.001153, allocations: 155.5 kB / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.001168, allocations: 0 / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.989e-06/0.001173, allocations: 3.938 kB / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.001178, allocations: 0 / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.001319, allocations: 31.83 kB / 0.8192 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.001364, allocations: 12 kB / 0.8192 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.001399, allocations: 7.984 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.001443, allocations: 11.92 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.001506, allocations: 11.98 kB / 0.8192 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.001519, allocations: 0 / 0.8192 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.883e-05/0.001608, allocations: 35.97 kB / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.001617, allocations: 0 / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.001631, allocations: 7.938 kB / 0.8193 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.001717, allocations: 35.83 kB / 0.8193 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.00173, allocations: 4 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00173, allocations: 0 / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.001742, allocations: 0 / 0.8193 GB, free: 1.844 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.0003008/0.002043, allocations: 232.6 kB / 0.8195 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.002073, allocations: 16.61 kB / 0.8196 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.002097, allocations: 8.938 kB / 0.8196 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.002166, allocations: 105.8 kB / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.002174, allocations: 384 / 0.8197 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.002194, allocations: 4.375 kB / 0.8197 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.002271, allocations: 63.95 kB / 0.8197 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.002277, allocations: 192 / 0.8197 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.002284, allocations: 4.375 kB / 0.8197 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.002289, allocations: 4.375 kB / 0.8197 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.002315, allocations: 15.86 kB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.393e-05/0.002399, allocations: 65.05 kB / 0.8198 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.002461, allocations: 38.55 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.002478, allocations: 12.86 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.002713, allocations: 60.12 kB / 0.8199 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.002732, allocations: 38.56 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.002733, allocations: 0 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0007244/0.003457, allocations: 483.8 kB / 0.8204 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.003482, allocations: 51.41 kB / 0.8205 GB, free: 492 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.00353, allocations: 106.7 kB / 0.8206 GB, free: 372 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.003538, allocations: 25.7 kB / 0.8206 GB, free: 340 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.00356, allocations: 80.14 kB / 0.8207 GB, free: 256 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.003584, allocations: 27.75 kB / 0.8207 GB, free: 228 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.00361, allocations: 29.81 kB / 0.8207 GB, free: 192 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.00369, allocations: 318.8 kB / 0.821 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.003699, allocations: 4.438 kB / 0.821 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.003709, allocations: 4 kB / 0.821 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.003743, allocations: 36.75 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.003744, allocations: 0 / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.436e-05/0.003798, allocations: 57.91 kB / 0.8211 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.003808, allocations: 4 kB / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.003812, allocations: 0 / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.003822, allocations: 0 / 0.8211 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.003877, allocations: 19.97 kB / 0.8211 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.003881, allocations: 8 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.003894, allocations: 7.938 kB / 0.8212 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.003898, allocations: 0 / 0.8212 GB, free: 15.72 MB / 0.8073 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.848e-05/0.003947, allocations: 113.8 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.003954, allocations: 4 kB / 0.8213 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.004037, allocations: 65.62 kB / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004038, allocations: 0 / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00404, allocations: 0 / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004043, allocations: 0 / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.775e-05/0.004101, allocations: 81.83 kB / 0.8214 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004101, allocations: 0 / 0.8214 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.004143, allocations: 19.98 kB / 0.8214 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-06/0.004147, allocations: 0 / 0.8214 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.00415, allocations: 4 kB / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.004154, allocations: 0 / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004154, allocations: 3.938 kB / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004155, allocations: 0 / 0.8214 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.004245, allocations: 97.02 kB / 0.8215 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.004254, allocations: 0 / 0.8215 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.00427, allocations: 7.938 kB / 0.8215 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.004282, allocations: 8.016 kB / 0.8216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.004287, allocations: 4 kB / 0.8216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.495e-06/0.004294, allocations: 8.859 kB / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004294, allocations: 0 / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001132/0.004407, allocations: 27.94 kB / 0.8216 GB, free: 15.23 MB / 0.8073 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.0001148/0.004522, allocations: 124.2 kB / 0.8217 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.004579, allocations: 24.86 kB / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.004584, allocations: 0 / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.004601, allocations: 24.88 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.761e-05/0.004658, allocations: 15.94 kB / 0.8218 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.004854, allocations: 140.4 kB / 0.8219 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.725e-05/0.004881, allocations: 59.34 kB / 0.822 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.004903, allocations: 4.547 kB / 0.822 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.004941, allocations: 55.38 kB / 0.822 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.004942, allocations: 0 / 0.822 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.002213/0.007154, allocations: 1.009 MB / 0.823 GB, free: 13.73 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.ref.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.222298718057573]