Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9541/0.9541, allocations: 177.2 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.824/1.824, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.556e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001909/0.001924, allocations: 1.504 MB / 0.813 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.002557, allocations: 493.2 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002597, allocations: 4 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.002629, allocations: 3.938 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.002695, allocations: 4 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.002899, allocations: 25.44 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.002964, allocations: 27.86 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.003039, allocations: 4 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.003107, allocations: 12.77 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.003138, allocations: 11.98 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.00315, allocations: 0.75 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.003204, allocations: 15.94 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.003221, allocations: 13.52 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.003238, allocations: 3.984 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.339e-05/0.003332, allocations: 31.91 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003333, allocations: 0 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003334, allocations: 0 / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003338, allocations: 0.5312 kB / 0.8136 GB, free: 15.59 MB / 0.7761 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.000338/0.003676, allocations: 361.3 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003711, allocations: 8.031 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.003752, allocations: 9.406 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.003827, allocations: 118.3 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.003838, allocations: 384 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.003846, allocations: 384 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003973, allocations: 50.95 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00398, allocations: 0.75 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.00399, allocations: 384 / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.003999, allocations: 8.469 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.00403, allocations: 4.781 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.004276, allocations: 255.7 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.808e-05/0.004324, allocations: 32.22 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.004345, allocations: 11.75 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/0.004424, allocations: 7.984 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.004446, allocations: 42.64 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004447, allocations: 0 / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.004584, allocations: 41.7 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.00461, allocations: 53.16 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.004677, allocations: 161.9 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004687, allocations: 25.7 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.004726, allocations: 130.9 kB / 0.8149 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.004742, allocations: 10.16 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.004768, allocations: 27.36 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.004863, allocations: 492.1 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.004874, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.004883, allocations: 4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.004911, allocations: 22.41 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004912, allocations: 0 / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.572e-05/0.004958, allocations: 37.69 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.00497, allocations: 11.94 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004974, allocations: 0 / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.004985, allocations: 0 / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.005045, allocations: 4.25 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005049, allocations: 1.594 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.005068, allocations: 11.98 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005073, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 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.437e-05/0.005127, allocations: 157.2 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.005143, allocations: 19.77 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.005216, allocations: 49.55 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005218, allocations: 0.5312 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.005221, allocations: 0.5625 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005223, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.246e-05/0.005306, allocations: 114 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005306, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.005325, allocations: 4 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005326, allocations: 2.562 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.005333, allocations: 7.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005334, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005335, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304e-05/0.005418, allocations: 191.9 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.005424, allocations: 7.953 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.005433, allocations: 3.938 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.005461, allocations: 8.672 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.00549, allocations: 5.062 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.005492, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.005522, allocations: 123.2 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005522, allocations: 1.094 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001401/0.005662, allocations: 11.94 kB / 0.8162 GB, free: 12.74 MB / 0.7761 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 8.995e-05/0.005752, allocations: 100.1 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.005824, allocations: 16.41 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005825, allocations: 0 / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.005841, allocations: 19.38 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006013, allocations: 11.92 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.006223, allocations: 114.4 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.006253, allocations: 59.22 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.006268, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.006286, allocations: 8.5 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.006287, allocations: 0 / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.002114/0.008401, allocations: 0.6724 MB / 0.8172 GB, free: 11.72 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.81079984921962]