Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.005463/0.005463, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001802/0.001802, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.168/1.168, allocations: 177.2 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.769/2.769, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.944e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002869/0.002909, allocations: 1.807 MB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.004063, allocations: 0.7087 MB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.00415, allocations: 0 / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.004188, allocations: 11.86 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.004266, allocations: 27.73 kB / 0.8923 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.004764, allocations: 175.5 kB / 0.8924 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.004938, allocations: 123.6 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.005084, allocations: 41.58 kB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.005297, allocations: 95.73 kB / 0.8927 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.005372, allocations: 35.89 kB / 0.8927 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.005401, allocations: 12 kB / 0.8927 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.0055, allocations: 39.97 kB / 0.8928 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.005531, allocations: 35.89 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.005568, allocations: 39.89 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.005779, allocations: 143.5 kB / 0.893 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005781, allocations: 0 / 0.893 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.414e-06/0.005784, allocations: 3.984 kB / 0.893 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.00579, allocations: 0 / 0.893 GB, free: 6.453 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004631/0.006253, allocations: 471.9 kB / 0.8934 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.006298, allocations: 11.97 kB / 0.8934 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.006741, allocations: 108.7 kB / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.006927, allocations: 156.9 kB / 0.8937 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.007013, allocations: 111.4 kB / 0.8938 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.007033, allocations: 16.38 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.007488, allocations: 194 kB / 0.894 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007496, allocations: 0 / 0.894 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.007511, allocations: 3.938 kB / 0.894 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007517, allocations: 4 kB / 0.894 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.007579, allocations: 39.97 kB / 0.894 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.008151, allocations: 405.8 kB / 0.8944 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.008415, allocations: 131 kB / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.008452, allocations: 31.8 kB / 0.8946 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.008482, allocations: 12 kB / 0.8946 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.008506, allocations: 33.39 kB / 0.8946 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.008508, allocations: 0 / 0.8946 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0002187/0.008726, allocations: 105.6 kB / 0.8947 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.008752, allocations: 51.41 kB / 0.8948 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.008855, allocations: 203.5 kB / 0.895 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.008873, allocations: 25.7 kB / 0.895 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.008941, allocations: 162.9 kB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.008966, allocations: 23.78 kB / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.009009, allocations: 31.36 kB / 0.8952 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.009138, allocations: 0.4923 MB / 0.8957 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.009175, allocations: 19.98 kB / 0.8957 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.009226, allocations: 55.03 kB / 0.8957 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.009313, allocations: 70.98 kB / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009316, allocations: 0 / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001455/0.009461, allocations: 93.56 kB / 0.8959 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.009479, allocations: 8 kB / 0.8959 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.009484, allocations: 0 / 0.8959 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.009496, allocations: 4.062 kB / 0.8959 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.00962, allocations: 35.84 kB / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.009624, allocations: 0 / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.009681, allocations: 12.3 kB / 0.896 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.009691, allocations: 7.984 kB / 0.896 GB, free: 3.121 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.033e-05/0.009782, allocations: 160.6 kB / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.00981, allocations: 7.953 kB / 0.8961 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.009979, allocations: 110.4 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009982, allocations: 0 / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.009985, allocations: 3.938 kB / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009989, allocations: 0 / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01014, allocations: 146 kB / 0.8964 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01014, allocations: 7.875 kB / 0.8964 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.01023, allocations: 27.95 kB / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01023, allocations: 0 / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01024, allocations: 0 / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01024, allocations: 4 kB / 0.8964 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01024, allocations: 4 kB / 0.8964 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.01043, allocations: 231.8 kB / 0.8966 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01045, allocations: 7.953 kB / 0.8966 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01046, allocations: 3.984 kB / 0.8967 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.01056, allocations: 15.98 kB / 0.8967 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.0106, allocations: 11.98 kB / 0.8967 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01061, allocations: 3.984 kB / 0.8967 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.01068, allocations: 153.1 kB / 0.8968 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01068, allocations: 4 kB / 0.8968 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001603/0.01084, allocations: 27.95 kB / 0.8969 GB, free: 2.141 MB / 0.8542 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 (6): * Single equations (assignments): 6 * 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.0001201/0.01096, allocations: 95.23 kB / 0.8969 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01112, allocations: 63.66 kB / 0.897 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.01113, allocations: 0 / 0.897 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.776e-05/0.01117, allocations: 39.61 kB / 0.897 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.0114, allocations: 18.55 kB / 0.8971 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.01195, allocations: 234.6 kB / 0.8973 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.012, allocations: 63.34 kB / 0.8974 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.923e-05/0.01206, allocations: 16 kB / 0.8974 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.0122, allocations: 114.1 kB / 0.8975 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.0122, allocations: 0 / 0.8975 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of Templates: time 0.003797/0.016, allocations: 1.7 MB / 0.8991 GB, free: 15.77 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.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: 6.35597090004012]