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.0008814/0.0008814, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009142/0.0009142, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.355/2.355, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.873e-06/1.873e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.694e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002056/0.002083, allocations: 0.611 MB / 0.8392 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003761, allocations: 1.163 MB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.003792, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.00381, allocations: 7.875 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.004071, allocations: 23.91 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.965e-06/0.004074, allocations: 3.938 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.004117, allocations: 4 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.004158, allocations: 0 / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.004189, allocations: 0 / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.00422, allocations: 11.94 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.004229, allocations: 0 / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.004346, allocations: 19.97 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.004356, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.107e-06/0.004365, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.004448, allocations: 11.92 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.004452, allocations: 4 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004453, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004457, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 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.0002239/0.004681, allocations: 221 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.00472, allocations: 12.92 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.004958, allocations: 20.88 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.005032, allocations: 109.7 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005043, allocations: 384 / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.005066, allocations: 4.375 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.00515, allocations: 38.25 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.00516, allocations: 192 / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005167, allocations: 384 / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005176, allocations: 3.938 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.005204, allocations: 7.984 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.628e-05/0.005301, allocations: 61.03 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.005442, allocations: 34.52 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.005458, allocations: 8.984 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.005473, allocations: 4 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005497, allocations: 34.56 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005499, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.001133/0.006631, allocations: 242.1 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.006672, allocations: 51.41 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.006708, allocations: 97.8 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.006728, allocations: 25.7 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.00675, allocations: 80.14 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.006807, allocations: 19.86 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.006861, allocations: 17.7 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.007066, allocations: 318.8 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.007116, allocations: 3.984 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.007169, allocations: 26.58 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.007275, allocations: 42.5 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007276, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001498/0.007426, allocations: 57.56 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007441, allocations: 4 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007447, allocations: 4 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007461, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.00765, allocations: 40 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.007654, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.00778, allocations: 19.94 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.007795, allocations: 8.172 kB / 0.842 GB, free: 10.48 MB / 0.8073 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 8.478e-05/0.00788, allocations: 113.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.007904, allocations: 4 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.007953, allocations: 11.66 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007956, allocations: 4 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.007959, allocations: 0 / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007963, allocations: 3.938 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.008278, allocations: 198.8 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.00828, allocations: 0 / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.00845, allocations: 35.97 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008452, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.008466, allocations: 8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008467, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.00847, allocations: 3.938 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.008636, allocations: 143.5 kB / 0.8425 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-06/0.008642, allocations: 3.984 kB / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.008662, allocations: 4 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.008819, allocations: 16 kB / 0.8425 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.008836, allocations: 11.92 kB / 0.8425 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.008847, allocations: 0 / 0.8425 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.574e-06/0.008854, allocations: 8.859 kB / 0.8425 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008855, allocations: 0 / 0.8425 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002491/0.009104, allocations: 8 kB / 0.8426 GB, free: 9.852 MB / 0.8073 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.0001187/0.009222, allocations: 80.42 kB / 0.8426 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.009363, allocations: 32.77 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009365, allocations: 0 / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.009416, allocations: 16.84 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.009581, allocations: 8.188 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.009934, allocations: 124.8 kB / 0.8428 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.009973, allocations: 59.3 kB / 0.8429 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.01014, allocations: 32 kB / 0.8429 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01025, allocations: 55.36 kB / 0.8429 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/0.01025, allocations: 0 / 0.8429 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of Templates: time 0.002747/0.013, allocations: 0.8929 MB / 0.8438 GB, free: 8.508 MB / 0.8073 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.282531440723687]