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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.006/3.006, allocations: 476.7 MB / 0.7634 GB, free: 15.24 MB / 0.6075 GB [Timeout remaining time 86] 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=502,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.14 kB / 1.108 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9469, allocations: 168.7 MB / 1.272 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002593/0.9495, allocations: 1.452 MB / 1.274 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.9503, allocations: 471.4 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.9503, allocations: 4 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.9504, allocations: 4.734 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.9504, allocations: 8.938 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.9507, allocations: 20.42 kB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.9507, allocations: 24.75 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.9508, allocations: 3.312 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.9509, allocations: 13.86 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.951, allocations: 18.33 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.951, allocations: 1.781 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.951, allocations: 19.17 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.9511, allocations: 9.406 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.9511, allocations: 7.672 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.9512, allocations: 38.45 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9512, allocations: 0 / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9512, allocations: 0.8438 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9512, allocations: 0.6094 kB / 1.274 GB, free: 6.578 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.0003905/0.9516, allocations: 345 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9516, allocations: 9.281 kB / 1.275 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.9517, allocations: 5.969 kB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/0.9518, allocations: 172.2 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.9518, allocations: 1.562 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.9518, allocations: 1.375 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.952, allocations: 52.77 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.952, allocations: 0 / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.952, allocations: 0.9375 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.952, allocations: 4.781 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.9521, allocations: 40.91 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.9524, allocations: 256.2 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.9525, allocations: 36.55 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.9526, allocations: 20.47 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.9527, allocations: 85.8 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.9528, allocations: 40.34 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.9528, allocations: 0 / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.9531, allocations: 85.36 kB / 1.276 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.9531, allocations: 52.5 kB / 1.276 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.9532, allocations: 96.36 kB / 1.276 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.9532, allocations: 34.64 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.9532, allocations: 83.16 kB / 1.276 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.9532, allocations: 5.453 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.9533, allocations: 15.56 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.9533, allocations: 313.2 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.9534, allocations: 15.3 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.9535, allocations: 17.28 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.9536, allocations: 46.14 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9536, allocations: 0 / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001748/0.9538, allocations: 67.64 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9538, allocations: 10.02 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9538, allocations: 0 / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9538, allocations: 1.031 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.9539, allocations: 13.41 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.9539, allocations: 0.9375 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.954, allocations: 6.938 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.954, allocations: 1.156 kB / 1.276 GB, free: 4.766 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 5.051e-05/0.954, allocations: 113.3 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.954, allocations: 5.766 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.9543, allocations: 80.33 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9543, allocations: 1.094 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9543, allocations: 256 / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9543, allocations: 3.984 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.9544, allocations: 165.1 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9544, allocations: 3.938 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.9544, allocations: 9.641 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9544, allocations: 0 / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.9545, allocations: 0.75 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.9545, allocations: 0.6875 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9545, allocations: 4 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.9547, allocations: 164.5 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.9547, allocations: 78.92 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.9547, allocations: 0 / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.9548, allocations: 5.797 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.9548, allocations: 7.938 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.9548, allocations: 1.031 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.842e-05/0.9548, allocations: 88.92 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9548, allocations: 3.938 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002213/0.9551, allocations: 9.594 kB / 1.277 GB, free: 4.055 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.0001724/0.9552, allocations: 99.8 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.9555, allocations: 40.64 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9555, allocations: 0 / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.9556, allocations: 19.55 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.9559, allocations: 8.891 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.9563, allocations: 142.4 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.9564, allocations: 0.6768 MB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.9564, allocations: 13.12 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9564, allocations: 0 / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of Templates: time 0.002668/0.9591, allocations: 0.6489 MB / 1.279 GB, free: 3.051 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/jenkins1/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