Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001521/0.001521, allocations: 113.5 kB / 17.08 MB, free: 5.789 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.001518/0.001518, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.408/1.408, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 489.2 MB / 0.7687 GB, free: 3.82 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8143, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002208/0.8165, allocations: 1.447 MB / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.8172, allocations: 466.6 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.8172, allocations: 1.156 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.8172, allocations: 0.6562 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.8173, allocations: 4.875 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.8175, allocations: 27.73 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.8176, allocations: 28.48 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.8177, allocations: 4.391 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.8177, allocations: 9.672 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.8178, allocations: 18.28 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8178, allocations: 2.562 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.8179, allocations: 18.06 kB / 1.265 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.8179, allocations: 6.516 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.8179, allocations: 15.47 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.818, allocations: 33.39 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.818, allocations: 0 / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.818, allocations: 0.9062 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.818, allocations: 0 / 1.265 GB, free: 6.609 MB / 0.9981 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.000334/0.8184, allocations: 351.4 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.8184, allocations: 10.19 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.8184, allocations: 2.219 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.8185, allocations: 167.2 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8185, allocations: 2.109 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.8186, allocations: 1.938 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.8187, allocations: 52.53 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8187, allocations: 0 / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.8187, allocations: 0.7812 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8188, allocations: 4.938 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.8189, allocations: 36.42 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.8192, allocations: 260.2 kB / 1.265 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.8193, allocations: 36.31 kB / 1.265 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.8194, allocations: 24.31 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.8195, allocations: 90.73 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.8195, allocations: 35.94 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8195, allocations: 7.875 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.8199, allocations: 76.38 kB / 1.266 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8199, allocations: 61.17 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.82, allocations: 98.42 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-06/0.82, allocations: 25.7 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.82, allocations: 86.22 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.82, allocations: 6.094 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.8201, allocations: 16.45 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.8201, allocations: 312.9 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.8202, allocations: 18.58 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.8203, allocations: 18.25 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.8204, allocations: 45.12 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8205, allocations: 0.875 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.8206, allocations: 63.48 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8207, allocations: 11 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8207, allocations: 0 / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8207, allocations: 1.703 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.8208, allocations: 8.344 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8208, allocations: 0.8438 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.8208, allocations: 9.812 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.8208, allocations: 1.609 kB / 1.266 GB, free: 4.793 MB / 0.9981 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 3.687e-05/0.8209, allocations: 111.4 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.8209, allocations: 9.953 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.8211, allocations: 79.98 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8212, allocations: 0.9688 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8212, allocations: 0 / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8212, allocations: 1.516 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.8213, allocations: 159.9 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8213, allocations: 0.75 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.8213, allocations: 8.922 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8214, allocations: 5.453 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.8214, allocations: 0 / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8214, allocations: 0.8438 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8214, allocations: 0.6562 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.8216, allocations: 167.2 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.8216, allocations: 82.89 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8216, allocations: 9.453 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.8217, allocations: 6.141 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.8217, allocations: 2.625 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.8217, allocations: 1.297 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.177e-05/0.8218, allocations: 85.03 kB / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8218, allocations: 0 / 1.267 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002162/0.822, allocations: 17.8 kB / 1.267 GB, free: 4.082 MB / 0.9981 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.0001084/0.8221, allocations: 102.8 kB / 1.267 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.8223, allocations: 36.47 kB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8223, allocations: 0 / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.8224, allocations: 24.42 kB / 1.267 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.8227, allocations: 8.422 kB / 1.267 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.8229, allocations: 135.2 kB / 1.267 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.823, allocations: 0.677 MB / 1.268 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.823, allocations: 9.125 kB / 1.268 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.8231, allocations: 0.7188 kB / 1.268 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of Templates: time 0.002206/0.8253, allocations: 0.6549 MB / 1.269 GB, free: 3.078 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.554935141000897]