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.001071/0.001071, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001265/0.001265, allocations: 185 kB / 24.09 MB, free: 416 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.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.084e-06/2.084e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.309e-05, allocations: 2.312 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002338/0.002362, allocations: 1.814 MB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.003351, allocations: 0.7154 MB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.003429, allocations: 0 / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.003467, allocations: 14.22 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.003536, allocations: 23.78 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.004029, allocations: 169.5 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.004196, allocations: 131.6 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004313, allocations: 38.94 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.004486, allocations: 91.73 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.004557, allocations: 39.81 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.004581, allocations: 9.688 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.004678, allocations: 47.97 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.004705, allocations: 31.91 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.004737, allocations: 35.89 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.004912, allocations: 152.3 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004914, allocations: 0 / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004915, allocations: 0 / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.004919, allocations: 0.5312 kB / 0.8152 GB, free: 14.16 MB / 0.7761 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.0004105/0.005329, allocations: 460.5 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.005372, allocations: 12.56 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004203/0.005792, allocations: 110.9 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005964, allocations: 158.2 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.00603, allocations: 115.4 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.006051, allocations: 8.375 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.006282, allocations: 188 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.00629, allocations: 4 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.006304, allocations: 4 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.006309, allocations: 0.8438 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.00637, allocations: 47.95 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.006872, allocations: 384.1 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.007132, allocations: 144.8 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.007169, allocations: 37.05 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.007191, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007215, allocations: 41.33 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.007216, allocations: 1.375 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002093/0.007425, allocations: 105.7 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.007451, allocations: 51.41 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.007556, allocations: 214.4 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.007575, allocations: 25.7 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.007633, allocations: 158.9 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.007653, allocations: 23.78 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.007697, allocations: 31.36 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.007815, allocations: 0.4884 MB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.007849, allocations: 19.98 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.821e-05/0.007897, allocations: 51.03 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.007979, allocations: 65.44 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007981, allocations: 0 / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000127/0.008108, allocations: 101.8 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00812, allocations: 7.344 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008125, allocations: 0 / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.008136, allocations: 4 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.008244, allocations: 37.08 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00825, allocations: 4 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.008307, allocations: 18.62 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.008315, allocations: 4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 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 7.352e-05/0.008389, allocations: 156.6 kB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.008419, allocations: 15.89 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.008571, allocations: 101.2 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008573, allocations: 0 / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.008575, allocations: 7.938 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008578, allocations: 0 / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.008716, allocations: 137.9 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008717, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.00879, allocations: 24.91 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.008791, allocations: 0 / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.008799, allocations: 4 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.008802, allocations: 5.109 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008803, allocations: 3.938 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.008965, allocations: 236.9 kB / 0.8189 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.008978, allocations: 15.91 kB / 0.8189 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.008992, allocations: 4 kB / 0.8189 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.009087, allocations: 21 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.009114, allocations: 0 / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.009126, allocations: 9.328 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.009182, allocations: 153.5 kB / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009182, allocations: 4 kB / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001676/0.00935, allocations: 16.72 kB / 0.8191 GB, free: 9.906 MB / 0.7761 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.0001093/0.009459, allocations: 104.9 kB / 0.8192 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.009586, allocations: 67.59 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009588, allocations: 0 / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.009633, allocations: 44.14 kB / 0.8193 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.009833, allocations: 21.23 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.01029, allocations: 235.2 kB / 0.8196 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.01033, allocations: 64.69 kB / 0.8196 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.01038, allocations: 16.23 kB / 0.8196 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01052, allocations: 110.1 kB / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.01052, allocations: 0 / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of Templates: time 0.003192/0.01372, allocations: 1.703 MB / 0.8214 GB, free: 7.523 MB / 0.7761 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: 5.140452817082405]