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.001877/0.001877, allocations: 115.7 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.002244/0.002244, allocations: 199.9 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.927/2.927, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002/0.002, allocations: 71.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9062, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002669/0.9089, allocations: 1.461 MB / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.9097, allocations: 478.9 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.9098, allocations: 0 / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.9098, allocations: 0 / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.9099, allocations: 3.938 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.9101, allocations: 31.89 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.9101, allocations: 23.94 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.9102, allocations: 3.984 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.9103, allocations: 11.94 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.9104, allocations: 11.98 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.9104, allocations: 8 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.9104, allocations: 15.98 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.9105, allocations: 7.938 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.9105, allocations: 19.91 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.9107, allocations: 26.58 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.9107, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9107, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9107, allocations: 0 / 1.276 GB, free: 2.406 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.0005744/0.9113, allocations: 347.4 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.9113, allocations: 11.97 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.9113, allocations: 8.891 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.9115, allocations: 164.4 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.9115, allocations: 4.375 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.9115, allocations: 4.375 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.9117, allocations: 49.98 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9117, allocations: 4 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.9117, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9117, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.9119, allocations: 35.91 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.9123, allocations: 256.8 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.9124, allocations: 34.56 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.9125, allocations: 26.45 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.9127, allocations: 89.08 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.9127, allocations: 30.56 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9127, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.9131, allocations: 89.53 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9131, allocations: 51.53 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.9132, allocations: 109.8 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9133, allocations: 29.64 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.9133, allocations: 80.14 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.9133, allocations: 7.953 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.9134, allocations: 13.72 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9135, allocations: 310.8 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.9136, allocations: 23.97 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.9137, allocations: 15.98 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.9138, allocations: 44.7 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9138, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002176/0.9141, allocations: 69.66 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9141, allocations: 4.094 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.9141, allocations: 4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9141, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.9142, allocations: 11.98 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.9142, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.9142, allocations: 8.234 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.9143, allocations: 7.922 kB / 1.278 GB, free: 264 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 9.584e-05/0.9143, allocations: 111.2 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.9144, allocations: 7.953 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.9146, allocations: 80.72 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9146, allocations: 4 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9146, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.9146, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.9148, allocations: 161.6 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9148, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.9149, allocations: 11.98 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9149, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.9149, allocations: 4.031 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9149, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9149, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.9152, allocations: 167.4 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.9152, allocations: 77.11 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.9152, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.9153, allocations: 8.016 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.9153, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.9153, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.9154, allocations: 83.28 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9154, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002271/0.9156, allocations: 11.94 kB / 1.279 GB, free: 15.44 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.0001647/0.9158, allocations: 99.23 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.916, allocations: 39.97 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.916, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.9161, allocations: 31.84 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.9164, allocations: 5.5 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.9167, allocations: 121.4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.917, allocations: 0.6808 MB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.917, allocations: 4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.917, allocations: 7.438 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.917, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.003042/0.9201, allocations: 0.5646 MB / 1.28 GB, free: 13.84 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 cvode -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.966265254188329]