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.001021/0.001021, 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.001184/0.001184, allocations: 164.5 kB / 24.86 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.9803/0.9803, allocations: 177.1 MB / 205.3 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.962/1.962, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.813e-06/1.813e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.915e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003227/0.003256, allocations: 1.81 MB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004519, allocations: 0.7154 MB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.004603, allocations: 0 / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.004647, allocations: 11.86 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.004727, allocations: 22.23 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.005324, allocations: 181 kB / 0.8155 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.005537, allocations: 127.6 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005681, allocations: 39 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.00589, allocations: 87.8 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.005977, allocations: 35.88 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.006006, allocations: 12.53 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.006131, allocations: 47.97 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.00617, allocations: 32.42 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.006221, allocations: 40.75 kB / 0.8159 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.006469, allocations: 147.4 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.006473, allocations: 0.7812 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006474, allocations: 0 / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.00648, allocations: 0 / 0.816 GB, free: 14.15 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.0005395/0.007019, allocations: 469.8 kB / 0.8165 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.007059, allocations: 8.031 kB / 0.8165 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.007744, allocations: 110.7 kB / 0.8166 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.007973, allocations: 156.9 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.00807, allocations: 111.9 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.008096, allocations: 9.156 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.008435, allocations: 199 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.008446, allocations: 0 / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.008466, allocations: 4.875 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.008474, allocations: 4 kB / 0.817 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.008567, allocations: 41.53 kB / 0.8171 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.0093, allocations: 387.1 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.009716, allocations: 134.2 kB / 0.8176 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.009774, allocations: 35.67 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.009794, allocations: 0 / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.009825, allocations: 45.45 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.009826, allocations: 0 / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0003095/0.01014, allocations: 106.1 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.01017, allocations: 53.34 kB / 0.8178 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.0103, allocations: 207.5 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01033, allocations: 25.7 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.01042, allocations: 162.9 kB / 0.8182 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.01045, allocations: 23.78 kB / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.01051, allocations: 28.83 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.01065, allocations: 0.4923 MB / 0.8187 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.0107, allocations: 15.98 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.01077, allocations: 58.97 kB / 0.8188 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01088, allocations: 56.19 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.01088, allocations: 8.844 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.01107, allocations: 98.39 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01109, allocations: 8 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01109, allocations: 1.594 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.0111, allocations: 0 / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01126, allocations: 43.84 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.01126, allocations: 0.75 kB / 0.819 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.01135, allocations: 18.31 kB / 0.819 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01137, allocations: 4 kB / 0.819 GB, free: 10.84 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 9.627e-05/0.01146, allocations: 160.6 kB / 0.8192 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.01151, allocations: 11.95 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.01172, allocations: 105.4 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01172, allocations: 0 / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01172, allocations: 3.938 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01173, allocations: 0 / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.01192, allocations: 137.9 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01192, allocations: 0 / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01204, allocations: 28.84 kB / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01204, allocations: 0 / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01205, allocations: 3.984 kB / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01205, allocations: 1.125 kB / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01206, allocations: 0 / 0.8194 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.01228, allocations: 240.9 kB / 0.8197 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.0123, allocations: 11.91 kB / 0.8197 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.01232, allocations: 0 / 0.8197 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.01248, allocations: 21.03 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.01251, allocations: 3.984 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.01253, allocations: 9.219 kB / 0.8197 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.831e-05/0.01261, allocations: 153.5 kB / 0.8199 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01261, allocations: 0 / 0.8199 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003601/0.01297, allocations: 20 kB / 0.8199 GB, free: 9.895 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.0001312/0.0131, allocations: 96.91 kB / 0.82 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01326, allocations: 72.06 kB / 0.82 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01327, allocations: 0 / 0.82 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.01333, allocations: 44.89 kB / 0.8201 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01362, allocations: 20.44 kB / 0.8201 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.0142, allocations: 236.7 kB / 0.8203 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01425, allocations: 63.34 kB / 0.8204 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.919e-05/0.01434, allocations: 21.98 kB / 0.8204 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.01453, allocations: 110.1 kB / 0.8205 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01453, allocations: 0 / 0.8205 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of Templates: time 0.004382/0.01891, allocations: 1.734 MB / 0.8222 GB, free: 7.48 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.194482233840972]