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.001918/0.001918, allocations: 92.7 kB / 19.44 MB, free: 324 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.002532/0.002532, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.246/3.246, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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 4.168e-06/4.168e-06, allocations: 4.75 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.274e-05, allocations: 6.062 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001635/0.001668, allocations: 0.6083 MB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.003603, allocations: 1.125 MB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.003632, allocations: 0.875 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.003649, allocations: 3.938 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.003909, allocations: 25.12 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.003913, allocations: 0 / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.003953, allocations: 7.938 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.003988, allocations: 0 / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.004013, allocations: 1.031 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.004039, allocations: 0 / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.004048, allocations: 5.125 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.004158, allocations: 15.98 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.004172, allocations: 3.938 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.004192, allocations: 5.078 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.004283, allocations: 11.92 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004285, allocations: 0 / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004286, allocations: 1.062 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.004291, allocations: 4 kB / 0.8794 GB, free: 4.641 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.0003478/0.004639, allocations: 242.4 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.004681, allocations: 8.812 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.004972, allocations: 12.92 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.005075, allocations: 111.4 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005086, allocations: 384 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.005112, allocations: 4.375 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.005213, allocations: 38.25 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.005226, allocations: 5.234 kB / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005235, allocations: 384 / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005243, allocations: 7.922 kB / 0.8798 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.005278, allocations: 9.078 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.005434, allocations: 101.3 kB / 0.8799 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.00561, allocations: 39.2 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.005638, allocations: 8.859 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.005656, allocations: 0.5312 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.005684, allocations: 40.17 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005685, allocations: 0 / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.004033/0.009718, allocations: 0.5444 MB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.009771, allocations: 51.41 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.009828, allocations: 89.86 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.00986, allocations: 29.7 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.00991, allocations: 80.14 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.009957, allocations: 19.8 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.01002, allocations: 25.7 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.01019, allocations: 310.8 kB / 0.8811 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.0108, allocations: 83.95 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.01141, allocations: 106.5 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.01258, allocations: 190.5 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01259, allocations: 0 / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001283/0.01387, allocations: 217.6 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01388, allocations: 4 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01389, allocations: 4 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01391, allocations: 0 / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.01432, allocations: 55.88 kB / 0.8818 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01433, allocations: 4 kB / 0.8818 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.01469, allocations: 43.97 kB / 0.8818 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.0147, allocations: 0 / 0.8818 GB, free: 2.02 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 0.0001116/0.01481, allocations: 113.8 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.01484, allocations: 4.188 kB / 0.8819 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.0149, allocations: 11.66 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.0149, allocations: 0 / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.01492, allocations: 7.938 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01492, allocations: 3.984 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.01648, allocations: 394.1 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01648, allocations: 0 / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.01687, allocations: 51.97 kB / 0.8824 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.01687, allocations: 3.938 kB / 0.8824 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01689, allocations: 3.984 kB / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01689, allocations: 0 / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01689, allocations: 0 / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.01825, allocations: 319.3 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.01825, allocations: 3.938 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01828, allocations: 3.938 kB / 0.8827 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.01865, allocations: 39.98 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.01867, allocations: 3.984 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01869, allocations: 4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.01873, allocations: 75.28 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01873, allocations: 0 / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002545/0.01899, allocations: 12 kB / 0.8828 GB, free: 0.9219 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 0.0001616/0.01915, allocations: 95.25 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.02042, allocations: 183.9 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02042, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.02101, allocations: 88.08 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.02126, allocations: 8 kB / 0.8832 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.02245, allocations: 220.6 kB / 0.8834 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.02252, allocations: 63.77 kB / 0.8834 GB, free: 228 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.02272, allocations: 35.98 kB / 0.8835 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.02281, allocations: 12.5 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.02281, allocations: 0 / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of Templates: time 0.003267/0.02607, allocations: 0.822 MB / 0.8843 GB, free: 15.37 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.995739718899131]