Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001071/0.001071, allocations: 83.59 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.001137/0.001137, allocations: 165 kB / 23.82 MB, free: 0.75 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.988/0.988, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.699/1.699, allocations: 359 MB / 0.6052 GB, free: 11 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.54e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001153/0.001178, allocations: 0.5978 MB / 0.7877 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.002319, allocations: 1.173 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.002342, allocations: 4 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.00236, allocations: 1.406 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.002587, allocations: 15.91 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.594e-06/0.00259, allocations: 0 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.72e-05/0.002627, allocations: 4 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.002663, allocations: 5.156 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.002686, allocations: 7.938 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.002706, allocations: 0 / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.002714, allocations: 1.219 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.002818, allocations: 19.91 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.002827, allocations: 0 / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.088e-05/0.002838, allocations: 5.188 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/0.002913, allocations: 19.92 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.002916, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002917, allocations: 1.594 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.002921, allocations: 0 / 0.789 GB, free: 10.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002229/0.003144, allocations: 340.4 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.003182, allocations: 12.03 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.003218, allocations: 4.938 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.226e-05/0.00327, allocations: 105.6 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.003281, allocations: 4.375 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.003302, allocations: 1.438 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/0.003381, allocations: 38.19 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.00339, allocations: 4.188 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.003398, allocations: 1.969 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.003405, allocations: 3.938 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.003428, allocations: 4 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.003537, allocations: 116.7 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.003692, allocations: 40.5 kB / 0.7896 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.003709, allocations: 11.72 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/0.003802, allocations: 7.984 kB / 0.7896 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.003821, allocations: 40.2 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.003823, allocations: 0 / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001085/0.004908, allocations: 275.7 kB / 0.7899 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.004939, allocations: 51.41 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.004983, allocations: 146.2 kB / 0.7901 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.004997, allocations: 26.52 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.005025, allocations: 126.9 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.005059, allocations: 20.78 kB / 0.7903 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.0051, allocations: 23.38 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.005204, allocations: 0.4896 MB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.005243, allocations: 4.75 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-05/0.005293, allocations: 37 kB / 0.7908 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.005378, allocations: 51.2 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.005379, allocations: 0 / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.005507, allocations: 61.84 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.00552, allocations: 4 kB / 0.7909 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005524, allocations: 0.625 kB / 0.7909 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005537, allocations: 6.531 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.00567, allocations: 27.92 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.005678, allocations: 4 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.005763, allocations: 26.7 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.005773, allocations: 4 kB / 0.791 GB, free: 8.27 MB / 0.7448 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.698e-05/0.00584, allocations: 157.5 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.005857, allocations: 7.938 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.006038, allocations: 84.05 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006041, allocations: 4 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006045, allocations: 3.938 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006048, allocations: 0 / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.006333, allocations: 305.4 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006335, allocations: 0 / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.006459, allocations: 32.28 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.006462, allocations: 3.938 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.006474, allocations: 8 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.006476, allocations: 4 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006477, allocations: 0 / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.00662, allocations: 203.9 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.006625, allocations: 4 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.006641, allocations: 3.938 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.006741, allocations: 19.98 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.006757, allocations: 7.984 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.006765, allocations: 4 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.006796, allocations: 123.2 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006796, allocations: 0 / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001568/0.006953, allocations: 8 kB / 0.792 GB, free: 7.234 MB / 0.7448 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 0.0001198/0.007073, allocations: 107.1 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.007202, allocations: 35.61 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.007203, allocations: 4 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.007243, allocations: 23.67 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007394, allocations: 4.188 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.007692, allocations: 130.3 kB / 0.7922 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.007725, allocations: 55.36 kB / 0.7923 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.421e-05/0.007819, allocations: 35.92 kB / 0.7923 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.007869, allocations: 16.48 kB / 0.7923 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/0.00787, allocations: 0 / 0.7923 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.002448/0.01032, allocations: 0.8984 MB / 0.7932 GB, free: 5.875 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.751192852854729]