Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001793/0.001793, allocations: 78.25 kB / 19.18 MB, free: 2.512 MB / 14.72 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.002176/0.002176, allocations: 162 kB / 22.46 MB, free: 5.367 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.846/2.846, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.776e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002633/0.002661, allocations: 1.466 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000917/0.003578, allocations: 470.8 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.00361, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.003638, allocations: 3.938 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.003699, allocations: 7.984 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.003923, allocations: 27.86 kB / 0.9833 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.003998, allocations: 23.92 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.004086, allocations: 4 kB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.004165, allocations: 15.98 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.004198, allocations: 3.984 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.004214, allocations: 7.938 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.004278, allocations: 15.98 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.004294, allocations: 7.922 kB / 0.9834 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.004316, allocations: 15.94 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.004435, allocations: 39.83 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004438, allocations: 0 / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004439, allocations: 0 / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.004446, allocations: 0 / 0.9835 GB, free: 9.844 MB / 0.9356 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.0004619/0.004908, allocations: 270.3 kB / 0.9837 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.004946, allocations: 8.031 kB / 0.9837 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.004981, allocations: 8.875 kB / 0.9837 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.005097, allocations: 105.8 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.005106, allocations: 384 / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.005121, allocations: 8.375 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.005303, allocations: 50.23 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.005311, allocations: 192 / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.005321, allocations: 4.375 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005327, allocations: 3.938 kB / 0.9839 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.005503, allocations: 31.91 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.00585, allocations: 196.6 kB / 0.9841 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.006011, allocations: 38.56 kB / 0.9842 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.00611, allocations: 24.88 kB / 0.9842 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.0062, allocations: 4 kB / 0.9842 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.006232, allocations: 38.5 kB / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.006233, allocations: 0 / 0.9842 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.006616, allocations: 85.53 kB / 0.9843 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.006658, allocations: 55.53 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.006818, allocations: 109.8 kB / 0.9845 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.006835, allocations: 25.7 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.006892, allocations: 88.14 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.00691, allocations: 7.891 kB / 0.9846 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006945, allocations: 13.72 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000253/0.007198, allocations: 318.8 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.007285, allocations: 11.98 kB / 0.9849 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.007368, allocations: 23.92 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.007534, allocations: 44.83 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007537, allocations: 0 / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002112/0.007748, allocations: 61.66 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.007767, allocations: 14.44 kB / 0.9851 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007772, allocations: 0 / 0.9851 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.007789, allocations: 0 / 0.9851 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.007908, allocations: 12.02 kB / 0.9851 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007914, allocations: 4 kB / 0.9851 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.007986, allocations: 7.984 kB / 0.9851 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007992, allocations: 3.938 kB / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.776e-05/0.00808, allocations: 109.8 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.008117, allocations: 11.89 kB / 0.9852 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.008429, allocations: 72.91 kB / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008432, allocations: 0 / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.008436, allocations: 4.031 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.00844, allocations: 4 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.008688, allocations: 101.3 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.00869, allocations: 0 / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.236e-05/0.008782, allocations: 7.984 kB / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.008788, allocations: 4 kB / 0.9854 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.008803, allocations: 7.938 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008804, allocations: 0 / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008806, allocations: 0 / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.009207, allocations: 163.5 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.009219, allocations: 4 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.00924, allocations: 3.938 kB / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.009369, allocations: 7.984 kB / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.009414, allocations: 0 / 0.9856 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.009422, allocations: 4.25 kB / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.009491, allocations: 87.27 kB / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009491, allocations: 0 / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003903/0.009881, allocations: 8 kB / 0.9857 GB, free: 7.379 MB / 0.9356 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 (2): * Single equations (assignments): 2 * 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.000202/0.01008, allocations: 103.8 kB / 0.9858 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.01038, allocations: 39.95 kB / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01039, allocations: 3.938 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01051, allocations: 19.92 kB / 0.9858 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.011, allocations: 4 kB / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.0114, allocations: 113 kB / 0.9859 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.01152, allocations: 59.34 kB / 0.986 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.01155, allocations: 4 kB / 0.986 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.01158, allocations: 8.5 kB / 0.986 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.01158, allocations: 0 / 0.986 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.004929/0.01651, allocations: 0.6039 MB / 0.9866 GB, free: 6.387 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.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: 8.029429819434881]