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.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.001008/0.001008, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001014/0.001014, allocations: 169 kB / 24.28 MB, free: 272 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.73/1.73, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.766e-06/2.766e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.642e-05, allocations: 7.969 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00246/0.002496, allocations: 1.489 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.003306, allocations: 497.3 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.00335, allocations: 0 / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.003384, allocations: 4.656 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.003465, allocations: 3.938 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003719, allocations: 25.05 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.003798, allocations: 19.92 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003904, allocations: 14.73 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.004001, allocations: 15.92 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.004042, allocations: 11.98 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.004058, allocations: 0 / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.004127, allocations: 15.94 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.004143, allocations: 7.984 kB / 0.7891 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.004165, allocations: 7.938 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004295, allocations: 31.89 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.004299, allocations: 1.469 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.873e-06/0.004301, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.004306, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.7448 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.0004101/0.004716, allocations: 361.2 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.004762, allocations: 12.03 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.004806, allocations: 1.781 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.004915, allocations: 112.6 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004928, allocations: 1.188 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.004939, allocations: 4.375 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.00509, allocations: 56.48 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005098, allocations: 192 / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005108, allocations: 384 / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.00512, allocations: 7.875 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.005151, allocations: 5.125 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.005483, allocations: 255.7 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.005548, allocations: 31.66 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.005573, allocations: 7.688 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.005677, allocations: 14.61 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.005702, allocations: 41.27 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005703, allocations: 3.938 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.005869, allocations: 37.7 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.005904, allocations: 55.39 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.005985, allocations: 157.9 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005997, allocations: 26.23 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.006051, allocations: 135.6 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.006076, allocations: 7.938 kB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.006112, allocations: 19.91 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.006248, allocations: 497.8 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.006265, allocations: 0 / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.006276, allocations: 4 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.006309, allocations: 15.62 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006311, allocations: 0.5938 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.771e-05/0.006379, allocations: 42.38 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.0064, allocations: 14.66 kB / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.006406, allocations: 0 / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.00642, allocations: 1 kB / 0.791 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.006509, allocations: 4 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.006517, allocations: 0 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.006539, allocations: 9.359 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006545, allocations: 0 / 0.791 GB, free: 8.551 MB / 0.7448 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 7.697e-05/0.006622, allocations: 152.6 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.006643, allocations: 21.62 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.006764, allocations: 48.98 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006766, allocations: 0 / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.006775, allocations: 0 / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.006779, allocations: 1.094 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.006895, allocations: 116.6 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.006898, allocations: 0 / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.006932, allocations: 4.594 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006934, allocations: 4 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.006945, allocations: 5.125 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.006947, allocations: 0 / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.006949, allocations: 4.844 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.00706, allocations: 191.9 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007068, allocations: 1.625 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007081, allocations: 7.875 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.007114, allocations: 7.984 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.007155, allocations: 0 / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.007158, allocations: 0.9062 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.007197, allocations: 127.2 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007198, allocations: 2.156 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001512/0.007349, allocations: 15.89 kB / 0.7917 GB, free: 7.789 MB / 0.7448 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.0001479/0.007497, allocations: 103.2 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.007594, allocations: 11.69 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.007597, allocations: 6.188 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.007616, allocations: 11.62 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.007854, allocations: 11.98 kB / 0.7919 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.008165, allocations: 114.8 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.008203, allocations: 55.89 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.008225, allocations: 5.859 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.008249, allocations: 12.5 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.00825, allocations: 0 / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of Templates: time 0.002725/0.01097, allocations: 0.6215 MB / 0.7927 GB, free: 6.809 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.06699093314819]