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.001056/0.001056, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001196/0.001196, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9903/0.9903, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.643e-06/1.643e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.287e-05, allocations: 2.844 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002357/0.002379, allocations: 1.563 MB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.003093, allocations: 496.1 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.003132, allocations: 4 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.003157, allocations: 1.625 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.003228, allocations: 14.66 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.003407, allocations: 15.98 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.003476, allocations: 31.58 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003551, allocations: 7.984 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.003629, allocations: 9.203 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.003665, allocations: 12.86 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003679, allocations: 3.984 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.003754, allocations: 20.58 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.003769, allocations: 7.109 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.003784, allocations: 4.656 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.003878, allocations: 29.59 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003881, allocations: 0 / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003882, allocations: 1.25 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003886, allocations: 0 / 0.7622 GB, free: 4.391 MB / 0.7136 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.0002837/0.00417, allocations: 238 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.004205, allocations: 13.28 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.004234, allocations: 0.9375 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.004323, allocations: 109.7 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.004331, allocations: 3.406 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.004337, allocations: 384 / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/0.004434, allocations: 54.94 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.004443, allocations: 4.172 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004448, allocations: 384 / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.004456, allocations: 8.594 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.004476, allocations: 4 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.004662, allocations: 148.2 kB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.374e-05/0.004695, allocations: 29.27 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.004708, allocations: 4.859 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.00478, allocations: 8.094 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.004801, allocations: 42.5 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004802, allocations: 0 / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.583e-05/0.004898, allocations: 38.2 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.00493, allocations: 55.41 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.004983, allocations: 107.9 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.004992, allocations: 25.7 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.00502, allocations: 84.14 kB / 0.7631 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.005034, allocations: 4.609 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.005058, allocations: 21.72 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.00513, allocations: 319.4 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.005138, allocations: 0 / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.005147, allocations: 7.5 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.005172, allocations: 8.859 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.005175, allocations: 4 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.697e-05/0.005222, allocations: 41.62 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.005233, allocations: 4 kB / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005237, allocations: 0 / 0.7635 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.00525, allocations: 3.938 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.005302, allocations: 7.125 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.005305, allocations: 7.984 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.005319, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.005323, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 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.691e-05/0.00537, allocations: 109.8 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.005384, allocations: 0 / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.005448, allocations: 45 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.005451, allocations: 5.75 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005452, allocations: 0 / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005455, allocations: 0 / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.734e-05/0.005532, allocations: 73.78 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.005533, allocations: 0 / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.005554, allocations: 8.625 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005555, allocations: 2.438 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.005559, allocations: 0 / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.005562, allocations: 3.984 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005562, allocations: 0 / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.631e-05/0.005629, allocations: 131.5 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.005636, allocations: 11.92 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-06/0.005643, allocations: 2.969 kB / 0.7639 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.005673, allocations: 4 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.005698, allocations: 7.938 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.0057, allocations: 0 / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.077e-05/0.005711, allocations: 12.84 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005711, allocations: 0 / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001232/0.005834, allocations: 7.938 kB / 0.764 GB, free: 2.41 MB / 0.7136 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 9.688e-05/0.005931, allocations: 85.92 kB / 0.7641 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.852e-05/0.005979, allocations: 8.859 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.005982, allocations: 0 / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.005997, allocations: 14.12 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006145, allocations: 8 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.006336, allocations: 105.3 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.006365, allocations: 56.2 kB / 0.7642 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.006383, allocations: 9.047 kB / 0.7642 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.006425, allocations: 59.36 kB / 0.7643 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.006425, allocations: 0 / 0.7643 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.002031/0.008456, allocations: 0.6079 MB / 0.7649 GB, free: 1.434 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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: 5.0880672531202435]