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.001248/0.001248, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00136/0.00136, allocations: 169 kB / 23.27 MB, free: 1.223 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.9423/0.9423, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.405/2.405, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.603e-06/1.603e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.948e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001755/0.001775, allocations: 0.6226 MB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.002142, allocations: 143.5 kB / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.002168, allocations: 4 kB / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.002182, allocations: 0 / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 1.892e-05/0.0022, allocations: 0 / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.002482, allocations: 51.75 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.002532, allocations: 19.92 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.002563, allocations: 0 / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.002595, allocations: 7.984 kB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.002653, allocations: 4 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.002667, allocations: 0 / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.002753, allocations: 39.94 kB / 0.8907 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.002766, allocations: 4 kB / 0.8907 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.002781, allocations: 7.938 kB / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.002879, allocations: 39.88 kB / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002881, allocations: 0 / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002882, allocations: 0 / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.002885, allocations: 0 / 0.8907 GB, free: 8.777 MB / 0.8542 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.0003022/0.003187, allocations: 364.6 kB / 0.8911 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.003221, allocations: 12.02 kB / 0.8911 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.003245, allocations: 4.938 kB / 0.8911 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.003319, allocations: 108.6 kB / 0.8912 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.003329, allocations: 8.375 kB / 0.8912 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.003346, allocations: 4.375 kB / 0.8912 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.003431, allocations: 71.95 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.003436, allocations: 192 / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.003442, allocations: 384 / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.003447, allocations: 384 / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.003476, allocations: 15.92 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.003588, allocations: 101.2 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.003671, allocations: 42.98 kB / 0.8914 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.003698, allocations: 23.86 kB / 0.8914 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.003761, allocations: 8 kB / 0.8914 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.003792, allocations: 37.39 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.003793, allocations: 0 / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0009688/0.004762, allocations: 402.6 kB / 0.8919 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.004793, allocations: 59.39 kB / 0.8919 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.00488, allocations: 161.8 kB / 0.8921 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.004897, allocations: 25.7 kB / 0.8921 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.004943, allocations: 126.9 kB / 0.8922 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.004981, allocations: 27.75 kB / 0.8923 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.005025, allocations: 39.47 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.005177, allocations: 492.1 kB / 0.8928 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.005195, allocations: 7.984 kB / 0.8928 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.005214, allocations: 12 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.005266, allocations: 27.67 kB / 0.8928 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005267, allocations: 0 / 0.8928 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.498e-05/0.005362, allocations: 65.61 kB / 0.8929 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005373, allocations: 4 kB / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.005376, allocations: 0 / 0.8929 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.005385, allocations: 4 kB / 0.8929 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.005455, allocations: 12 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.005459, allocations: 4 kB / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.00548, allocations: 7.938 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005485, allocations: 0 / 0.8929 GB, free: 6.285 MB / 0.8542 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 8.377e-05/0.005569, allocations: 160.6 kB / 0.893 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.005584, allocations: 7.953 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.00573, allocations: 77.88 kB / 0.8931 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.005734, allocations: 4 kB / 0.8931 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.005736, allocations: 0 / 0.8931 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.005743, allocations: 3.938 kB / 0.8931 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.005837, allocations: 101.3 kB / 0.8932 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.00584, allocations: 3.984 kB / 0.8932 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.005909, allocations: 15.98 kB / 0.8933 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.005911, allocations: 0 / 0.8933 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.005919, allocations: 4 kB / 0.8933 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005921, allocations: 80 / 0.8933 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.005923, allocations: 3.984 kB / 0.8933 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.00608, allocations: 116.3 kB / 0.8934 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.006089, allocations: 7.953 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.0061, allocations: 0 / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.394e-05/0.006134, allocations: 8.031 kB / 0.8934 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.006151, allocations: 7.984 kB / 0.8934 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.006156, allocations: 3.938 kB / 0.8934 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.006197, allocations: 123.2 kB / 0.8935 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.006197, allocations: 0 / 0.8935 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002347/0.006432, allocations: 35.92 kB / 0.8936 GB, free: 5.543 MB / 0.8542 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.000166/0.006598, allocations: 127.2 kB / 0.8937 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.006685, allocations: 43.55 kB / 0.8937 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006687, allocations: 0 / 0.8937 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.006718, allocations: 31.77 kB / 0.8937 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.006851, allocations: 0 / 0.8937 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.007124, allocations: 142.2 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.00716, allocations: 59.3 kB / 0.8939 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.00719, allocations: 4 kB / 0.8939 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.007254, allocations: 82.19 kB / 0.894 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.007255, allocations: 0 / 0.894 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of Templates: time 0.003071/0.01033, allocations: 1.004 MB / 0.895 GB, free: 4.008 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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.249249704647809]