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.0009279/0.0009279, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001469/0.001469, allocations: 169 kB / 23.02 MB, free: 1.547 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.9026/0.9026, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.096/2.096, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 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 1.834e-06/1.834e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.668e-05, allocations: 5.688 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001172/0.001199, allocations: 0.6238 MB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.002371, allocations: 1.169 MB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.002399, allocations: 0 / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.002418, allocations: 0 / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.002669, allocations: 21 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.675e-06/0.002672, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.156e-05/0.002713, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.00275, allocations: 8.578 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.002775, allocations: 3.938 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.421e-05/0.002799, allocations: 7.422 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.002809, allocations: 0 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.002914, allocations: 15.94 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002925, allocations: 3.984 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.002938, allocations: 7.938 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.003022, allocations: 11.98 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003024, allocations: 0 / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003024, allocations: 0 / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003028, allocations: 0 / 0.88 GB, free: 4.414 MB / 0.8386 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.0002452/0.003273, allocations: 344.9 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.00331, allocations: 8.625 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.003526, allocations: 18.22 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.676e-05/0.003593, allocations: 112.6 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.003604, allocations: 384 / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.003623, allocations: 5.016 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.00371, allocations: 38.19 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.003721, allocations: 1.719 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.00373, allocations: 384 / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.003738, allocations: 7.938 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.003766, allocations: 7.984 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.003868, allocations: 109.6 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.00402, allocations: 43.09 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.004039, allocations: 12.44 kB / 0.8807 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.004054, allocations: 3.938 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.004075, allocations: 41.38 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004076, allocations: 0 / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0009163/0.004992, allocations: 254.2 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.005024, allocations: 51.41 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.693e-05/0.005061, allocations: 142.2 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.005074, allocations: 25.7 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.005101, allocations: 134.8 kB / 0.8813 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.005134, allocations: 15.86 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.005173, allocations: 27.36 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.005282, allocations: 0.4884 MB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.005324, allocations: 7.984 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.005373, allocations: 31.06 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.005461, allocations: 50.98 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005462, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001288/0.005591, allocations: 65.69 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.005605, allocations: 8 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.00561, allocations: 0 / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.005623, allocations: 192 / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.005758, allocations: 35.92 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005763, allocations: 4.031 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.005852, allocations: 23.98 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.005861, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 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 7.601e-05/0.005937, allocations: 164.5 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.005951, allocations: 0 / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.005988, allocations: 15.64 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00599, allocations: 0 / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.005995, allocations: 7.938 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005998, allocations: 0 / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.006308, allocations: 301.4 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00631, allocations: 4 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.00643, allocations: 27.98 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.006433, allocations: 3.938 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.006444, allocations: 3.984 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.006446, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006447, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.0066, allocations: 207.9 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.006605, allocations: 4 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.00662, allocations: 7.938 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.006725, allocations: 27.98 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.006738, allocations: 0 / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.006747, allocations: 7.984 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.006775, allocations: 123.1 kB / 0.8829 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006775, allocations: 3.938 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001588/0.006934, allocations: 8 kB / 0.883 GB, free: 1.137 MB / 0.8386 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.66e-05/0.007011, allocations: 98 kB / 0.8831 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.007153, allocations: 31.8 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007155, allocations: 4.062 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/0.0072, allocations: 31.73 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.007342, allocations: 6.062 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.007647, allocations: 134.3 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.00769, allocations: 55.36 kB / 0.8833 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.007796, allocations: 28 kB / 0.8833 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.007859, allocations: 20.48 kB / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of SimCode: time 6.62e-07/0.00786, allocations: 0 / 0.8834 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of Templates: time 0.002271/0.01013, allocations: 0.8626 MB / 0.8842 GB, free: 15.82 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.097676774952561]