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.0008168/0.0008168, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001432/0.001432, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9715/0.9715, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.794/1.794, allocations: 359 MB / 0.6063 GB, free: 10.85 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 1.162e-06/1.162e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.636e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002073/0.002089, allocations: 1.5 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006075/0.002697, allocations: 485.7 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.002729, allocations: 4 kB / 0.7902 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.00275, allocations: 9.547 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.002801, allocations: 3.938 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.002947, allocations: 23.92 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.00299, allocations: 27.91 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.003061, allocations: 4.969 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.003121, allocations: 11.98 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.003151, allocations: 12.56 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.003162, allocations: 0 / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.003217, allocations: 21.33 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.003231, allocations: 4 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.003245, allocations: 3.984 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.664e-05/0.003332, allocations: 31.91 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003334, allocations: 1.188 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003334, allocations: 0 / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003337, allocations: 0 / 0.7904 GB, free: 10.07 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.0003023/0.00364, allocations: 369.6 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003677, allocations: 11.97 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.003703, allocations: 6.188 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.003786, allocations: 108.6 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.003796, allocations: 384 / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.003802, allocations: 384 / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.003894, allocations: 55.66 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003902, allocations: 1.844 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003909, allocations: 4.375 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003915, allocations: 3.938 kB / 0.7909 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.003933, allocations: 4 kB / 0.7909 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.004137, allocations: 236.3 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.004183, allocations: 32.25 kB / 0.7912 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.004197, allocations: 7.688 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.328e-05/0.004261, allocations: 5.656 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.004278, allocations: 37.39 kB / 0.7912 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.004279, allocations: 3.984 kB / 0.7912 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001137/0.004393, allocations: 51.06 kB / 0.7913 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.004417, allocations: 51.41 kB / 0.7913 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.004482, allocations: 161.9 kB / 0.7915 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.004491, allocations: 29.69 kB / 0.7915 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.00453, allocations: 133.6 kB / 0.7917 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.004546, allocations: 7.938 kB / 0.7917 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.004572, allocations: 23.38 kB / 0.7917 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.004678, allocations: 492.1 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.004688, allocations: 4 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-06/0.004698, allocations: 3.984 kB / 0.7922 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.004721, allocations: 12.22 kB / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004723, allocations: 256 / 0.7922 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.733e-05/0.00477, allocations: 38.36 kB / 0.7922 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.004783, allocations: 8.531 kB / 0.7922 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.004789, allocations: 7.938 kB / 0.7922 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.006e-06/0.004797, allocations: 1.375 kB / 0.7922 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.004854, allocations: 11.98 kB / 0.7922 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.004857, allocations: 0 / 0.7922 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.004874, allocations: 4.531 kB / 0.7922 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.004877, allocations: 1.375 kB / 0.7922 GB, free: 8 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 6.529e-05/0.004943, allocations: 152.6 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.00496, allocations: 7.953 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.005034, allocations: 50.03 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005036, allocations: 4 kB / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.005038, allocations: 0 / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.005041, allocations: 1.312 kB / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.005133, allocations: 101.2 kB / 0.7925 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005133, allocations: 0 / 0.7925 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.005154, allocations: 5.75 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.005156, allocations: 0 / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.00516, allocations: 0 / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.005163, allocations: 4 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005164, allocations: 3.938 kB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.602e-05/0.00526, allocations: 184.4 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005266, allocations: 1.938 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.005274, allocations: 4 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.005304, allocations: 3.984 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.005333, allocations: 11.88 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005335, allocations: 0 / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.005371, allocations: 124 kB / 0.7929 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005371, allocations: 3.938 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001541/0.005525, allocations: 19.31 kB / 0.7929 GB, free: 7.277 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 8.728e-05/0.005613, allocations: 95.25 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.005669, allocations: 19.69 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.61e-07/0.00567, allocations: 0 / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.005687, allocations: 11.69 kB / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.005856, allocations: 7.984 kB / 0.793 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.006042, allocations: 123.4 kB / 0.7931 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.006072, allocations: 53.14 kB / 0.7932 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.006088, allocations: 3.953 kB / 0.7932 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.006134, allocations: 78.19 kB / 0.7933 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.006135, allocations: 0 / 0.7933 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of Templates: time 0.002069/0.008203, allocations: 0.6869 MB / 0.7939 GB, free: 6.176 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: 4.931000035256147]