Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 110.9 kB / 17.08 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 193.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437.1 MB / 0.7178 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 151.6 MB / 1.176 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002795/0.3299, allocations: 1.432 MB / 1.177 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.3308, allocations: 471.7 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.3308, allocations: 4 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3309, allocations: 7.875 kB / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.3309, allocations: 0 / 1.178 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3312, allocations: 27.91 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.3312, allocations: 27.92 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3313, allocations: 7.984 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.3314, allocations: 8 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.3315, allocations: 15.92 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3315, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.3316, allocations: 23.92 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3316, allocations: 4 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3316, allocations: 11.91 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3317, allocations: 35.84 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3317, allocations: 0 / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3318, allocations: 4 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3318, allocations: 0 / 1.178 GB, free: 3.895 MB / 0.92 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.0005019/0.3323, allocations: 343.4 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3323, allocations: 8.031 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.3323, allocations: 4.891 kB / 1.178 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3325, allocations: 168.4 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3325, allocations: 384 / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.3325, allocations: 384 / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3327, allocations: 57.94 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3328, allocations: 3.938 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3328, allocations: 3.984 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3328, allocations: 0 / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.333, allocations: 35.97 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.3333, allocations: 248.9 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3335, allocations: 42.56 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.3336, allocations: 24.84 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.3337, allocations: 85.09 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3338, allocations: 30.56 kB / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3338, allocations: 0 / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.3341, allocations: 89.59 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3342, allocations: 51.41 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3343, allocations: 101.9 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3343, allocations: 29.69 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.3344, allocations: 84.12 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3344, allocations: 7.891 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3344, allocations: 17.84 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3346, allocations: 318.8 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.3347, allocations: 23.97 kB / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.3348, allocations: 11.98 kB / 1.18 GB, free: 1.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3349, allocations: 44.7 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3349, allocations: 4.062 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3352, allocations: 65.66 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3352, allocations: 4 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3352, allocations: 0 / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3352, allocations: 0 / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.3353, allocations: 15.98 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3353, allocations: 3.938 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.3354, allocations: 4 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3354, allocations: 4.031 kB / 1.18 GB, free: 1.754 MB / 0.92 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 9.729e-05/0.3355, allocations: 113.8 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3355, allocations: 4 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3357, allocations: 76.75 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3358, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3358, allocations: 4.25 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3358, allocations: 3.938 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.336, allocations: 173.6 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.336, allocations: 0 / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.336, allocations: 4 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3361, allocations: 4 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.3361, allocations: 0 / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3361, allocations: 3.984 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3361, allocations: 3.938 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3364, allocations: 167.5 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.3364, allocations: 77.11 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3364, allocations: 0 / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3365, allocations: 4 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3366, allocations: 7.984 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3366, allocations: 0 / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.3366, allocations: 83.28 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3366, allocations: 0 / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002222/0.3369, allocations: 8.031 kB / 1.18 GB, free: 0.9297 MB / 0.92 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.0001787/0.3371, allocations: 107.2 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3373, allocations: 39.91 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3373, allocations: 0 / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.3374, allocations: 19.98 kB / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3377, allocations: 14.28 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.338, allocations: 135 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3384, allocations: 0.6767 MB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3384, allocations: 11.44 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3384, allocations: 0 / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of Templates: time 0.002328/0.3408, allocations: 0.6527 MB / 1.182 GB, free: 15.22 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.099173326976597]