Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001468/0.001468, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.00128/0.00128, allocations: 165 kB / 24.17 MB, free: 324 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.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.449 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.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.151e-05, allocations: 5.125 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002241/0.002263, allocations: 1.824 MB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.003181, allocations: 0.7292 MB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.003244, allocations: 1.125 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.003278, allocations: 15.8 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.003346, allocations: 23.14 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.003765, allocations: 174.4 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.003913, allocations: 137.1 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00402, allocations: 38.2 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.004175, allocations: 87.8 kB / 0.763 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.004241, allocations: 35.88 kB / 0.763 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.004261, allocations: 13.22 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.784e-05/0.004359, allocations: 43.97 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.004396, allocations: 39.83 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.004437, allocations: 33.28 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.004669, allocations: 147.5 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004672, allocations: 3.938 kB / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004673, allocations: 0 / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.004677, allocations: 0.6875 kB / 0.7633 GB, free: 3.305 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003421/0.005019, allocations: 333 kB / 0.7636 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.005051, allocations: 8.031 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.005431, allocations: 103 kB / 0.7637 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.00558, allocations: 147.4 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.00564, allocations: 115.4 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.005658, allocations: 8.375 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.005865, allocations: 187.7 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.005871, allocations: 0 / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.005885, allocations: 8 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.005889, allocations: 1.156 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.005941, allocations: 37.39 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.006359, allocations: 267.5 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.006588, allocations: 122.4 kB / 0.7646 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.006619, allocations: 27.69 kB / 0.7646 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006634, allocations: 8.125 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.00665, allocations: 30.56 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.006652, allocations: 0 / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001508/0.006802, allocations: 85.61 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.006827, allocations: 55.41 kB / 0.7648 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.006899, allocations: 156.4 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.006917, allocations: 27.11 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.006956, allocations: 104.2 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006973, allocations: 19.8 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.007011, allocations: 26.36 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.007086, allocations: 322.8 kB / 0.7654 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.007114, allocations: 18.09 kB / 0.7654 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.007152, allocations: 34.56 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.007222, allocations: 62.67 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007224, allocations: 2.438 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.614e-05/0.00732, allocations: 81.61 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007331, allocations: 8 kB / 0.7656 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.007335, allocations: 0 / 0.7656 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007346, allocations: 3.984 kB / 0.7656 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.007442, allocations: 30.12 kB / 0.7656 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.007447, allocations: 3.938 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.007504, allocations: 15.98 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.007514, allocations: 4 kB / 0.7656 GB, free: 0.707 MB / 0.7136 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 6.328e-05/0.007577, allocations: 114.8 kB / 0.7657 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.007599, allocations: 7.984 kB / 0.7657 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.007726, allocations: 91.36 kB / 0.7658 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007727, allocations: 2.406 kB / 0.7658 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.007729, allocations: 3.938 kB / 0.7658 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007733, allocations: 3.984 kB / 0.7658 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.007843, allocations: 97.86 kB / 0.7659 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007844, allocations: 0 / 0.7659 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.007917, allocations: 26.41 kB / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007919, allocations: 0 / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007927, allocations: 0 / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.007928, allocations: 0 / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007929, allocations: 0 / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.008097, allocations: 179.4 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.008112, allocations: 12.08 kB / 0.7661 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.008132, allocations: 9.375 kB / 0.7662 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.008261, allocations: 11.98 kB / 0.7662 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.008287, allocations: 9.922 kB / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.008299, allocations: 7.984 kB / 0.7662 GB, free: 104 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.008324, allocations: 34.45 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008324, allocations: 0 / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001386/0.008463, allocations: 24 kB / 0.7662 GB, free: 44 kB / 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 (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 9.579e-05/0.008558, allocations: 81.16 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.008651, allocations: 49.44 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.008655, allocations: 4.688 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.008689, allocations: 37.41 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.00883, allocations: 24.55 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.009231, allocations: 214.1 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.009264, allocations: 63.94 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.009316, allocations: 15.38 kB / 0.7667 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.009441, allocations: 87.95 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.009441, allocations: 0 / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.002996/0.01244, allocations: 1.644 MB / 0.7684 GB, free: 13.86 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.990416663233191]