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.001275/0.001275, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001241/0.001241, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.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.801/2.801, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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.002842/0.002842, allocations: 75.88 kB / 1.107 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9953/0.9981, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002358/1.001, allocations: 1.472 MB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/1.001, allocations: 470.9 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/1.001, allocations: 0 / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/1.001, allocations: 9.938 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/1.001, allocations: 5.156 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/1.001, allocations: 18.89 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/1.002, allocations: 29.27 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/1.002, allocations: 7.016 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/1.002, allocations: 14.38 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/1.002, allocations: 10.27 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/1.002, allocations: 5.625 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-05/1.002, allocations: 18.33 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/1.002, allocations: 14.05 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/1.002, allocations: 9.297 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/1.002, allocations: 32.73 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.002, allocations: 0 / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.002, allocations: 0 / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.002, allocations: 0.875 kB / 1.274 GB, free: 6.477 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.0003566/1.002, allocations: 342.8 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.002, allocations: 10.06 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/1.002, allocations: 1.906 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.63e-05/1.002, allocations: 170.3 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/1.002, allocations: 9.406 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.002, allocations: 5.219 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.003, allocations: 53.19 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/1.003, allocations: 0 / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/1.003, allocations: 0.5625 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.003, allocations: 4.766 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/1.003, allocations: 34 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/1.003, allocations: 255.2 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.003, allocations: 40.12 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/1.003, allocations: 23.03 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/1.003, allocations: 84.23 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.003, allocations: 34.56 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.003, allocations: 0.9375 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000334/1.004, allocations: 80.75 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/1.004, allocations: 51.41 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/1.004, allocations: 106.2 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/1.004, allocations: 26.67 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/1.004, allocations: 88.27 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/1.004, allocations: 5.016 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/1.004, allocations: 15.75 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.004, allocations: 313.5 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/1.004, allocations: 18.17 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/1.004, allocations: 15.22 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/1.004, allocations: 44.97 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.004, allocations: 0.7188 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/1.004, allocations: 66.52 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.004, allocations: 5.281 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.004, allocations: 4.781 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.004, allocations: 3.938 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/1.004, allocations: 13.47 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.004, allocations: 0.9062 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/1.005, allocations: 6.781 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/1.005, allocations: 0.8125 kB / 1.276 GB, free: 4.664 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 4.814e-05/1.005, allocations: 112.2 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/1.005, allocations: 11.38 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/1.005, allocations: 78.55 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.005, allocations: 3.469 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.005, allocations: 0.9062 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.005, allocations: 0 / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/1.005, allocations: 162.4 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.005, allocations: 1.188 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/1.005, allocations: 11.34 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.005, allocations: 3.328 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/1.005, allocations: 0.9375 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.005, allocations: 0 / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.005, allocations: 4.031 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/1.005, allocations: 163.7 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/1.005, allocations: 77.77 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/1.005, allocations: 0.9688 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/1.005, allocations: 6.359 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/1.005, allocations: 7.406 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.005, allocations: 0.7188 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.128e-05/1.005, allocations: 84.52 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.005, allocations: 0 / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002177/1.006, allocations: 9.781 kB / 1.277 GB, free: 3.961 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.0001315/1.006, allocations: 99.22 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001971/1.006, allocations: 44.98 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/1.006, allocations: 0 / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/1.006, allocations: 20.03 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.006, allocations: 10.59 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/1.007, allocations: 122.1 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/1.007, allocations: 0.6752 MB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.42e-05/1.007, allocations: 9.766 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/1.007, allocations: 8.844 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.007, allocations: 0 / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.002996/1.01, allocations: 0.5701 MB / 1.278 GB, free: 2.941 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.882153144106269]