Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001623/0.001623, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001749/0.001749, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 75.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9963, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002861/0.9992, allocations: 1.461 MB / 1.275 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009621/1, allocations: 482.8 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/1, allocations: 0 / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/1, allocations: 0 / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/1, allocations: 7.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/1, allocations: 23.92 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/1.001, allocations: 23.92 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/1.001, allocations: 15.97 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/1.001, allocations: 7.938 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/1.001, allocations: 11.98 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/1.001, allocations: 0 / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/1.001, allocations: 23.92 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/1.001, allocations: 7.938 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/1.001, allocations: 11.98 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/1.001, allocations: 34.56 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.001, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/1.001, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.79e-06/1.001, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9669 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.0005501/1.002, allocations: 343.4 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.002, allocations: 8.031 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.002, allocations: 4.891 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.002, allocations: 176.3 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.002, allocations: 4.375 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/1.002, allocations: 384 / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/1.002, allocations: 57.92 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.002, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/1.002, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.002, allocations: 4 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/1.002, allocations: 27.97 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/1.003, allocations: 256.8 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/1.003, allocations: 34.56 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.003, allocations: 26.45 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.003, allocations: 89.03 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.003, allocations: 30.56 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.276e-06/1.003, allocations: 11.92 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003829/1.003, allocations: 85.59 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.003, allocations: 51.41 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/1.004, allocations: 109.8 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/1.004, allocations: 25.7 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/1.004, allocations: 80.14 kB / 1.277 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.004, allocations: 12.08 kB / 1.277 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/1.004, allocations: 13.72 kB / 1.277 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.004, allocations: 310.8 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/1.004, allocations: 19.97 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/1.004, allocations: 19.92 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/1.004, allocations: 48.83 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.004, allocations: 0 / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002177/1.004, allocations: 61.66 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.004, allocations: 8 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.004, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.004, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/1.004, allocations: 11.98 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.004, allocations: 4.031 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/1.005, allocations: 7.984 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/1.005, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 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 0.000111/1.005, allocations: 115.8 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/1.005, allocations: 11.89 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/1.005, allocations: 68.78 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.005, allocations: 4.031 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/1.005, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.005, allocations: 4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/1.005, allocations: 165.6 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.005, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/1.005, allocations: 4 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.005, allocations: 3.984 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/1.005, allocations: 4 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.005, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.005, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/1.006, allocations: 171.4 kB / 1.278 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/1.006, allocations: 77.11 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/1.006, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/1.006, allocations: 7.984 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/1.006, allocations: 8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.006, allocations: 256 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.937e-05/1.006, allocations: 87.31 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.006, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002283/1.006, allocations: 11.88 kB / 1.279 GB, free: 15.32 MB / 0.9825 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.0001537/1.006, allocations: 103.2 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002213/1.006, allocations: 39.91 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.006, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/1.007, allocations: 24.03 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.007, allocations: 13.81 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/1.007, allocations: 117.4 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.007, allocations: 0.6729 MB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.515e-05/1.007, allocations: 3.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/1.007, allocations: 11.44 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.007, allocations: 4.062 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.003228/1.011, allocations: 0.5605 MB / 1.28 GB, free: 13.72 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.967768142931163]