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.0009382/0.0009382, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009387/0.0009387, allocations: 161.4 kB / 23.82 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.9199/0.9199, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.863/1.863, allocations: 359 MB / 0.6052 GB, free: 11 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.653e-06/1.653e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.149e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001864/0.001885, allocations: 1.486 MB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.002543, allocations: 0.4929 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.002578, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.002606, allocations: 5 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.002667, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.002877, allocations: 25.34 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003022, allocations: 23.94 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.003113, allocations: 7.922 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.003182, allocations: 19.97 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.003213, allocations: 5.156 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.003228, allocations: 4 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.003286, allocations: 19.92 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.003304, allocations: 5.75 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.003323, allocations: 8 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.933e-05/0.003423, allocations: 23.95 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003424, allocations: 3.938 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003425, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003428, allocations: 0.7812 kB / 0.7892 GB, free: 10.36 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.0003179/0.003746, allocations: 370.2 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.003782, allocations: 8.031 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.003814, allocations: 4.938 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.863e-05/0.003893, allocations: 116.6 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003904, allocations: 384 / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.003915, allocations: 6.031 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004026, allocations: 50.95 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.004035, allocations: 192 / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004046, allocations: 4.375 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.004056, allocations: 10.52 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.004087, allocations: 7.938 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.004343, allocations: 255.7 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.004388, allocations: 31.09 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.004407, allocations: 7.688 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.004481, allocations: 4.062 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.004501, allocations: 41.98 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.004503, allocations: 1.656 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.004632, allocations: 45.62 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.004655, allocations: 51.41 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.004721, allocations: 165.9 kB / 0.7903 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.00473, allocations: 27.08 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.004768, allocations: 126.9 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.004784, allocations: 7.953 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.004807, allocations: 19.38 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.004906, allocations: 493.9 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.00492, allocations: 7.984 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.004929, allocations: 0 / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.004954, allocations: 16.22 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004956, allocations: 7.938 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.985e-05/0.005006, allocations: 34.7 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.005018, allocations: 7.938 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005022, allocations: 1.906 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.005037, allocations: 0 / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.005096, allocations: 7.984 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.005102, allocations: 4 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.005117, allocations: 2.062 kB / 0.791 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005121, allocations: 0 / 0.791 GB, free: 8.262 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 5.413e-05/0.005175, allocations: 160.6 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.00519, allocations: 7.891 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.005268, allocations: 56.86 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005269, allocations: 0.5312 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.005272, allocations: 0.5312 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.005276, allocations: 3.984 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.073e-05/0.005357, allocations: 117.4 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005358, allocations: 0 / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.005376, allocations: 8.766 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.005377, allocations: 1.5 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.005385, allocations: 7.938 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005385, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005386, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/0.005464, allocations: 188.4 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.005469, allocations: 5.344 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.005479, allocations: 3.938 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.005507, allocations: 4 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.005538, allocations: 1.156 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005541, allocations: 4 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.005574, allocations: 127.2 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005574, allocations: 0.9062 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000147/0.005721, allocations: 11.89 kB / 0.7917 GB, free: 7.5 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 9.274e-05/0.005814, allocations: 100.1 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.005889, allocations: 21.02 kB / 0.7918 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.00589, allocations: 0 / 0.7918 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.005907, allocations: 11.69 kB / 0.7918 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.006084, allocations: 8.469 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.006307, allocations: 120.7 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.006339, allocations: 55.34 kB / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.474e-05/0.006354, allocations: 3.953 kB / 0.792 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.006372, allocations: 12.5 kB / 0.792 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.006373, allocations: 0.875 kB / 0.792 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.002244/0.008616, allocations: 0.6217 MB / 0.7926 GB, free: 6.523 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.096644285134971]