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.001202/0.001202, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001267/0.001267, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9805/0.9805, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.828/1.828, allocations: 359 MB / 0.6055 GB, free: 10.86 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.073e-06/2.073e-06, allocations: 0 / 0.7876 GB, free: 11.01 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.798e-05, allocations: 7.094 kB / 0.7876 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001786/0.001813, allocations: 0.619 MB / 0.7882 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.002213, allocations: 148 kB / 0.7884 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.002242, allocations: 1.406 kB / 0.7884 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.00226, allocations: 7.938 kB / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.293e-05/0.002283, allocations: 0 / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.0026, allocations: 36.89 kB / 0.7884 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.002653, allocations: 15.98 kB / 0.7884 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.002696, allocations: 0 / 0.7884 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.002735, allocations: 13.5 kB / 0.7884 GB, free: 10.19 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.002808, allocations: 11.97 kB / 0.7884 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.002823, allocations: 0 / 0.7884 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.002911, allocations: 27.97 kB / 0.7885 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.002927, allocations: 8 kB / 0.7885 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.00294, allocations: 0.5938 kB / 0.7885 GB, free: 10.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003054, allocations: 45.27 kB / 0.7885 GB, free: 10.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003057, allocations: 0 / 0.7885 GB, free: 10.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003058, allocations: 0 / 0.7885 GB, free: 10.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003061, allocations: 0 / 0.7885 GB, free: 10.1 MB / 0.698 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.0003554/0.003417, allocations: 369.3 kB / 0.7889 GB, free: 9.703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.003457, allocations: 8.031 kB / 0.7889 GB, free: 9.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.003489, allocations: 4.938 kB / 0.7889 GB, free: 9.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.003569, allocations: 109.4 kB / 0.789 GB, free: 9.559 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.003582, allocations: 4.375 kB / 0.789 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.003606, allocations: 1.281 kB / 0.789 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.003706, allocations: 71.95 kB / 0.7891 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.003713, allocations: 2.594 kB / 0.7891 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.00372, allocations: 384 / 0.7891 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.003726, allocations: 384 / 0.7891 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.003757, allocations: 15.92 kB / 0.7891 GB, free: 9.457 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.003885, allocations: 109.1 kB / 0.7892 GB, free: 9.324 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.003971, allocations: 47.11 kB / 0.7892 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.003994, allocations: 17.48 kB / 0.7892 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.038e-05/0.004064, allocations: 4 kB / 0.7893 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.004098, allocations: 45.5 kB / 0.7893 GB, free: 9.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.004101, allocations: 4.484 kB / 0.7893 GB, free: 9.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.00102/0.005121, allocations: 407.4 kB / 0.7897 GB, free: 8.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.005149, allocations: 55.41 kB / 0.7897 GB, free: 8.664 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.00522, allocations: 155 kB / 0.7899 GB, free: 8.496 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.005234, allocations: 25.7 kB / 0.7899 GB, free: 8.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.005271, allocations: 132.2 kB / 0.79 GB, free: 8.332 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.005305, allocations: 23.83 kB / 0.7901 GB, free: 8.309 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.005342, allocations: 23.38 kB / 0.7901 GB, free: 8.277 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.005476, allocations: 492.1 kB / 0.7906 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.005494, allocations: 13.72 kB / 0.7906 GB, free: 7.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.005513, allocations: 8 kB / 0.7906 GB, free: 7.766 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.303e-05/0.005566, allocations: 31.67 kB / 0.7906 GB, free: 7.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005567, allocations: 0 / 0.7906 GB, free: 7.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.743e-05/0.005665, allocations: 65.62 kB / 0.7907 GB, free: 7.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.00568, allocations: 11.25 kB / 0.7907 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005685, allocations: 0 / 0.7907 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005698, allocations: 0 / 0.7907 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.005769, allocations: 21.23 kB / 0.7907 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005772, allocations: 0 / 0.7907 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.005794, allocations: 3.938 kB / 0.7907 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.0058, allocations: 0 / 0.7907 GB, free: 7.629 MB / 0.698 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 7.742e-05/0.005878, allocations: 170.1 kB / 0.7909 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.005894, allocations: 7.953 kB / 0.7909 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.006037, allocations: 76.36 kB / 0.7909 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006039, allocations: 0 / 0.7909 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006041, allocations: 0 / 0.7909 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.006046, allocations: 3.938 kB / 0.7909 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.006141, allocations: 109.2 kB / 0.7911 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.006143, allocations: 0 / 0.7911 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.006209, allocations: 16 kB / 0.7911 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006212, allocations: 0 / 0.7911 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.006218, allocations: 0.5 kB / 0.7911 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.00622, allocations: 0.5312 kB / 0.7911 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.006223, allocations: 3.984 kB / 0.7911 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.006372, allocations: 110.9 kB / 0.7912 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.006382, allocations: 11.94 kB / 0.7912 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006394, allocations: 0 / 0.7912 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.006428, allocations: 4 kB / 0.7912 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.006446, allocations: 7.969 kB / 0.7912 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.006455, allocations: 10.59 kB / 0.7912 GB, free: 7.051 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.006493, allocations: 119.2 kB / 0.7913 GB, free: 6.934 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.006493, allocations: 0 / 0.7913 GB, free: 6.934 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002365/0.006729, allocations: 27.94 kB / 0.7914 GB, free: 6.906 MB / 0.698 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.0002017/0.006931, allocations: 136 kB / 0.7915 GB, free: 6.762 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.007029, allocations: 44.06 kB / 0.7915 GB, free: 6.715 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.007032, allocations: 0.8438 kB / 0.7915 GB, free: 6.715 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.007064, allocations: 31.75 kB / 0.7916 GB, free: 6.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.007221, allocations: 9.281 kB / 0.7916 GB, free: 6.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.00751, allocations: 130.2 kB / 0.7917 GB, free: 6.516 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.007548, allocations: 63.34 kB / 0.7917 GB, free: 6.434 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.007587, allocations: 9.5 kB / 0.7918 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.007648, allocations: 77.11 kB / 0.7918 GB, free: 6.352 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.007648, allocations: 0 / 0.7918 GB, free: 6.352 MB / 0.698 GB Notification: Performance of Templates: time 0.003419/0.01107, allocations: 1.017 MB / 0.7928 GB, free: 5.355 MB / 0.698 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.008766662795097]