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.0009893/0.0009893, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001461/0.001461, allocations: 167.9 kB / 24.87 MB, free: 8.883 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.9003/0.9003, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.875/1.875, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.263e-06/1.263e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.421e-05, allocations: 7.688 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001429/0.001453, allocations: 0.6231 MB / 0.789 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.001777, allocations: 143.6 kB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.001803, allocations: 0 / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.00182, allocations: 3.938 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.455e-05/0.001844, allocations: 1.219 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.002117, allocations: 39.83 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.002168, allocations: 11.94 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.002208, allocations: 8.516 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.00224, allocations: 8.688 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.002309, allocations: 7.969 kB / 0.7892 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002324, allocations: 4.906 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.002395, allocations: 27.97 kB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.002411, allocations: 4 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.002425, allocations: 8.578 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.843e-05/0.002524, allocations: 41.42 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.002527, allocations: 0 / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002528, allocations: 0 / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.002533, allocations: 0 / 0.7893 GB, free: 11.25 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.0003202/0.002853, allocations: 367.8 kB / 0.7896 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.002887, allocations: 8.031 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.002918, allocations: 4.938 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.002992, allocations: 108.6 kB / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003002, allocations: 384 / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.003024, allocations: 8.719 kB / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.003107, allocations: 59.95 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003114, allocations: 192 / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003121, allocations: 384 / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.003125, allocations: 4.312 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.003149, allocations: 20.58 kB / 0.7898 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.003258, allocations: 98.88 kB / 0.7899 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.003333, allocations: 55.08 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.003353, allocations: 15.67 kB / 0.79 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.848e-05/0.003411, allocations: 4 kB / 0.79 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.003435, allocations: 42.42 kB / 0.79 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.003436, allocations: 3.938 kB / 0.79 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008126/0.004249, allocations: 411.2 kB / 0.7904 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.004273, allocations: 55.34 kB / 0.7905 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.004338, allocations: 154.5 kB / 0.7906 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.004348, allocations: 26.39 kB / 0.7907 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.004379, allocations: 130.9 kB / 0.7908 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.004408, allocations: 24.28 kB / 0.7908 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.004441, allocations: 28.55 kB / 0.7908 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.004547, allocations: 496.1 kB / 0.7913 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.004565, allocations: 11.98 kB / 0.7913 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.00458, allocations: 11.94 kB / 0.7913 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.004619, allocations: 28.2 kB / 0.7913 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.00462, allocations: 1.219 kB / 0.7914 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.799e-05/0.004698, allocations: 65.62 kB / 0.7914 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.004713, allocations: 8 kB / 0.7914 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004717, allocations: 1.031 kB / 0.7914 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.004726, allocations: 0 / 0.7914 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.00478, allocations: 12 kB / 0.7914 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004785, allocations: 4.938 kB / 0.7914 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.004798, allocations: 4.375 kB / 0.7914 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.004804, allocations: 5.016 kB / 0.7914 GB, free: 8.773 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 6.204e-05/0.004866, allocations: 160.6 kB / 0.7916 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.004876, allocations: 5.031 kB / 0.7916 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.004983, allocations: 73.62 kB / 0.7917 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004985, allocations: 1.125 kB / 0.7917 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004988, allocations: 4 kB / 0.7917 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.004992, allocations: 3.938 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.005072, allocations: 114.1 kB / 0.7918 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005074, allocations: 0 / 0.7918 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.005122, allocations: 14.16 kB / 0.7918 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005124, allocations: 4 kB / 0.7918 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.00513, allocations: 0 / 0.7918 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005131, allocations: 0 / 0.7918 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005132, allocations: 0 / 0.7918 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.005252, allocations: 116.9 kB / 0.7919 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.005259, allocations: 6.812 kB / 0.7919 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.005268, allocations: 3.984 kB / 0.7919 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.005288, allocations: 0 / 0.7919 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.005301, allocations: 7.938 kB / 0.7919 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.005307, allocations: 7.938 kB / 0.7919 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.005335, allocations: 127.2 kB / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 1.562 kB / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001576/0.005493, allocations: 27.94 kB / 0.7921 GB, free: 8.055 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.0001528/0.005646, allocations: 131.2 kB / 0.7922 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.005722, allocations: 40.22 kB / 0.7923 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005723, allocations: 0 / 0.7923 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.005745, allocations: 28.17 kB / 0.7923 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005853, allocations: 8.562 kB / 0.7923 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.006084, allocations: 138.8 kB / 0.7924 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.595e-05/0.006109, allocations: 55.36 kB / 0.7925 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.006138, allocations: 10.36 kB / 0.7925 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.006183, allocations: 78.2 kB / 0.7926 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.006184, allocations: 0 / 0.7926 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of Templates: time 0.002645/0.008829, allocations: 1.026 MB / 0.7936 GB, free: 6.52 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: 5.115320939105004]