Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001108/0.001108, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001132/0.001132, allocations: 173 kB / 23.28 MB, free: 1.219 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.937/0.937, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.311/2.311, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.495e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001585/0.00161, allocations: 0.6119 MB / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002884, allocations: 1.151 MB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.002913, allocations: 0 / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.002928, allocations: 4 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.003137, allocations: 31.78 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.00314, allocations: 0 / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.179e-05/0.003172, allocations: 4 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.003205, allocations: 0 / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/0.003232, allocations: 7.922 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.003258, allocations: 4 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.003267, allocations: 0 / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.003358, allocations: 15.94 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.003369, allocations: 0 / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-06/0.003378, allocations: 4 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.003455, allocations: 15.97 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003457, allocations: 0 / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003457, allocations: 0 / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003461, allocations: 0 / 0.8916 GB, free: 7.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002197/0.00368, allocations: 348.7 kB / 0.8919 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.003727, allocations: 16.86 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.003932, allocations: 20.86 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.003997, allocations: 108.6 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.004008, allocations: 8.297 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.004024, allocations: 8.375 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.096e-05/0.004095, allocations: 38.25 kB / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004103, allocations: 192 / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-06/0.004109, allocations: 384 / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004115, allocations: 3.938 kB / 0.8921 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.004136, allocations: 7.984 kB / 0.8922 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.317e-05/0.00422, allocations: 93.27 kB / 0.8922 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.004346, allocations: 47.02 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.00436, allocations: 11.69 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.004388, allocations: 0 / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.004412, allocations: 41.39 kB / 0.8923 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004413, allocations: 0 / 0.8923 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0007949/0.005208, allocations: 242.2 kB / 0.8926 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.005231, allocations: 55.34 kB / 0.8926 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.005266, allocations: 142.2 kB / 0.8928 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.005279, allocations: 25.7 kB / 0.8928 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.005306, allocations: 126.9 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.005336, allocations: 19.86 kB / 0.8929 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.005378, allocations: 31.34 kB / 0.8929 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005486, allocations: 496.1 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.005517, allocations: 3.984 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.005561, allocations: 39.06 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.372e-05/0.005635, allocations: 43 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.005636, allocations: 0 / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/0.005747, allocations: 65.67 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.005757, allocations: 4 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005762, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.005775, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.005897, allocations: 35.92 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005901, allocations: 7.969 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.005983, allocations: 23.98 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.00599, allocations: 0 / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.152e-05/0.006052, allocations: 160.5 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.006066, allocations: 4 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.006104, allocations: 12.08 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006105, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.006107, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.006112, allocations: 11.92 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.006385, allocations: 294 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006386, allocations: 4.25 kB / 0.8941 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.006492, allocations: 31.98 kB / 0.8941 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006493, allocations: 0 / 0.8941 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.006502, allocations: 0 / 0.8941 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006504, allocations: 3.938 kB / 0.8941 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006505, allocations: 0 / 0.8941 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.006648, allocations: 211.8 kB / 0.8943 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.006653, allocations: 0 / 0.8943 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.006669, allocations: 4 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.006766, allocations: 27.92 kB / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.006776, allocations: 4 kB / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.006781, allocations: 0 / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.00681, allocations: 119.2 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00681, allocations: 0 / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001444/0.006954, allocations: 8 kB / 0.8945 GB, free: 4.594 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 7.323e-05/0.007028, allocations: 107.2 kB / 0.8946 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.007134, allocations: 27.61 kB / 0.8946 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007135, allocations: 4.188 kB / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.007175, allocations: 19.69 kB / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.007318, allocations: 11.98 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.007579, allocations: 126.3 kB / 0.8948 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.007614, allocations: 59.34 kB / 0.8948 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.007715, allocations: 28 kB / 0.8949 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.007796, allocations: 70.2 kB / 0.8949 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.007796, allocations: 4 kB / 0.8949 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of Templates: time 0.001843/0.009639, allocations: 0.8821 MB / 0.8958 GB, free: 3.199 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.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.27147614909336]