Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00148/0.00148, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001552/0.001552, allocations: 161 kB / 23.81 MB, free: 0.7539 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 0.9336/0.9336, allocations: 177.2 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.704/1.704, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 7.938 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.229e-05, allocations: 2.859 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001133/0.001156, allocations: 0.6327 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.001472, allocations: 144.3 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.001495, allocations: 0 / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.001513, allocations: 0.875 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.001534, allocations: 3.938 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.001833, allocations: 44.39 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.001886, allocations: 15.98 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.001925, allocations: 1.406 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.001957, allocations: 7.984 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.002018, allocations: 11.98 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.002033, allocations: 0 / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.002103, allocations: 29.09 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002118, allocations: 0 / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.002139, allocations: 15.92 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.002239, allocations: 41.11 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002241, allocations: 0 / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002241, allocations: 0 / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002246, allocations: 1.562 kB / 0.7881 GB, free: 11.48 MB / 0.7448 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.0003083/0.002554, allocations: 360.3 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.00259, allocations: 8.031 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.002629, allocations: 4.938 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.002703, allocations: 109.6 kB / 0.7885 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.002713, allocations: 384 / 0.7885 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.002734, allocations: 4.719 kB / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.00283, allocations: 69.02 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.002836, allocations: 192 / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.00285, allocations: 5.594 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.002858, allocations: 384 / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.00289, allocations: 15.92 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.003013, allocations: 120.6 kB / 0.7887 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.003093, allocations: 52.64 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.003121, allocations: 19.81 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.387e-05/0.003185, allocations: 4 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.003207, allocations: 38.78 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.003209, allocations: 0 / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008518/0.00406, allocations: 423.6 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004089, allocations: 55.34 kB / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.185e-05/0.004151, allocations: 157.9 kB / 0.7895 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004162, allocations: 25.7 kB / 0.7895 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.004191, allocations: 128.6 kB / 0.7896 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.004219, allocations: 27.78 kB / 0.7896 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.004252, allocations: 23.38 kB / 0.7897 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004355, allocations: 0.4923 MB / 0.7901 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.004371, allocations: 5.188 kB / 0.7901 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.004386, allocations: 8 kB / 0.7902 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.004433, allocations: 39.66 kB / 0.7902 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.004434, allocations: 0 / 0.7902 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.625e-05/0.00451, allocations: 71.27 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.004528, allocations: 9.562 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004532, allocations: 0 / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.004543, allocations: 0 / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.004602, allocations: 17.8 kB / 0.7903 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004607, allocations: 3.938 kB / 0.7903 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.00462, allocations: 0 / 0.7903 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.004626, allocations: 4 kB / 0.7903 GB, free: 8.965 MB / 0.7448 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 5.656e-05/0.004682, allocations: 157.4 kB / 0.7904 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.004691, allocations: 4 kB / 0.7904 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.004809, allocations: 82.41 kB / 0.7905 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.004811, allocations: 0.7188 kB / 0.7905 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.004815, allocations: 7.938 kB / 0.7905 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.004821, allocations: 4.516 kB / 0.7905 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.004888, allocations: 117.9 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.00489, allocations: 0 / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.00494, allocations: 15.98 kB / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004942, allocations: 0 / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.004952, allocations: 8.531 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.004953, allocations: 1.375 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004954, allocations: 0 / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.005084, allocations: 121 kB / 0.7908 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-06/0.005091, allocations: 7.938 kB / 0.7908 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.005103, allocations: 9.156 kB / 0.7908 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.005121, allocations: 0 / 0.7908 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.005139, allocations: 7.984 kB / 0.7908 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.005144, allocations: 5.156 kB / 0.7908 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.005169, allocations: 119.2 kB / 0.7909 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005169, allocations: 0.8125 kB / 0.7909 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001468/0.005316, allocations: 31.94 kB / 0.791 GB, free: 8.215 MB / 0.7448 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.0001371/0.005453, allocations: 140.1 kB / 0.7911 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.005541, allocations: 44.94 kB / 0.7911 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.005543, allocations: 0 / 0.7911 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.005564, allocations: 23.69 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.005668, allocations: 10.05 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.005914, allocations: 138.9 kB / 0.7913 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.005944, allocations: 65.22 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.005966, allocations: 4 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.005988, allocations: 17.28 kB / 0.7914 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.005988, allocations: 0 / 0.7914 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.002579/0.008568, allocations: 0.9717 MB / 0.7923 GB, free: 6.781 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.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: 4.743572635110468]