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.001086/0.001086, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001176/0.001176, allocations: 161 kB / 23.82 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.9429/0.9429, allocations: 177.1 MB / 204.2 MB, free: 5.422 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.805/1.805, allocations: 359 MB / 0.6052 GB, free: 10.98 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.232e-06/1.232e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.323e-05, allocations: 5.859 kB / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00152/0.001543, allocations: 0.6169 MB / 0.7877 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.001865, allocations: 148.3 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.00189, allocations: 0 / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.001907, allocations: 4 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.815e-05/0.001926, allocations: 1.969 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.002208, allocations: 43.77 kB / 0.7879 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.002256, allocations: 11.98 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.002291, allocations: 3.984 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.00232, allocations: 12.89 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.128e-05/0.002382, allocations: 7.938 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.002394, allocations: 0 / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.002465, allocations: 36.52 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.00248, allocations: 9.266 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.002495, allocations: 0 / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.002595, allocations: 39.88 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002597, allocations: 0 / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002597, allocations: 0.9688 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002601, allocations: 0 / 0.7881 GB, free: 11.5 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.0003206/0.002922, allocations: 357 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.002959, allocations: 8.031 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.002997, allocations: 7.531 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.003079, allocations: 112.6 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.003091, allocations: 4.375 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.003118, allocations: 8.594 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.003223, allocations: 67.95 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.00323, allocations: 192 / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003239, allocations: 384 / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.003247, allocations: 5.984 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.003278, allocations: 15.92 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.003406, allocations: 120.7 kB / 0.7887 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.003489, allocations: 51.58 kB / 0.7888 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.003518, allocations: 19.67 kB / 0.7888 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.003584, allocations: 4.688 kB / 0.7888 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.003613, allocations: 41.52 kB / 0.7888 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.003614, allocations: 0.9688 kB / 0.7888 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008557/0.004469, allocations: 407.7 kB / 0.7892 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.004496, allocations: 63.33 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.004554, allocations: 153.9 kB / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004565, allocations: 32.27 kB / 0.7895 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.004597, allocations: 126.9 kB / 0.7896 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.004624, allocations: 27.78 kB / 0.7896 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.004656, allocations: 31.36 kB / 0.7896 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.004758, allocations: 492.1 kB / 0.7901 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.004777, allocations: 7.984 kB / 0.7901 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.004798, allocations: 12 kB / 0.7901 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.004843, allocations: 32.44 kB / 0.7902 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.004844, allocations: 0 / 0.7902 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.971e-05/0.004924, allocations: 74.34 kB / 0.7902 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004936, allocations: 5.719 kB / 0.7902 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.00494, allocations: 4.469 kB / 0.7902 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.004954, allocations: 1.625 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.005018, allocations: 12 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.005024, allocations: 3.938 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.005038, allocations: 4.438 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.005045, allocations: 4.594 kB / 0.7903 GB, free: 8.984 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.97e-05/0.005104, allocations: 157.2 kB / 0.7904 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.005114, allocations: 8 kB / 0.7904 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.005231, allocations: 86.28 kB / 0.7905 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.005233, allocations: 5.156 kB / 0.7905 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.005238, allocations: 7.938 kB / 0.7905 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005241, allocations: 0 / 0.7905 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.964e-05/0.005311, allocations: 118 kB / 0.7906 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005312, allocations: 4 kB / 0.7906 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.005359, allocations: 8 kB / 0.7907 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.005363, allocations: 4 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.005369, allocations: 0.9375 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00537, allocations: 0 / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00537, allocations: 0.75 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.005498, allocations: 128.8 kB / 0.7908 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-06/0.005503, allocations: 5.094 kB / 0.7908 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.005514, allocations: 3.984 kB / 0.7908 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.005536, allocations: 4 kB / 0.7908 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.005552, allocations: 4.844 kB / 0.7908 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.005557, allocations: 3.938 kB / 0.7908 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.005586, allocations: 128.6 kB / 0.7909 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005586, allocations: 0 / 0.7909 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000151/0.005737, allocations: 31.94 kB / 0.791 GB, free: 8.227 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.0001484/0.005886, allocations: 128.2 kB / 0.7911 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.005979, allocations: 41.61 kB / 0.7911 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00598, allocations: 0 / 0.7911 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.006005, allocations: 35.66 kB / 0.7911 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.006111, allocations: 1.719 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.006353, allocations: 142.2 kB / 0.7913 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.006383, allocations: 61.64 kB / 0.7913 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.006411, allocations: 8.531 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.006433, allocations: 12.5 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.006434, allocations: 0.5 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.002462/0.008895, allocations: 0.9193 MB / 0.7923 GB, free: 6.863 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.2002681898884475]