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.001813/0.001813, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001998/0.001998, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.105/3.105, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.463e-06/1.463e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.875e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003325/0.003354, allocations: 1.797 MB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004766, allocations: 0.7001 MB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.004834, allocations: 3.938 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.004877, allocations: 15.8 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.00497, allocations: 16.92 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.005573, allocations: 186.9 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.005788, allocations: 123.6 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.005936, allocations: 41.58 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.006153, allocations: 92.7 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.006241, allocations: 31.89 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.006277, allocations: 8 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.006403, allocations: 48.72 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.006454, allocations: 35.89 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.006516, allocations: 44.7 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.006811, allocations: 167.5 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006815, allocations: 1.25 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006815, allocations: 0 / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.006824, allocations: 4 kB / 0.814 GB, free: 14.8 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.0007304/0.007554, allocations: 469.5 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.00759, allocations: 12.03 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.008444, allocations: 105.8 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.008716, allocations: 161.8 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.008856, allocations: 113.2 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.008885, allocations: 8.375 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.009369, allocations: 213.2 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.009379, allocations: 1.531 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.009405, allocations: 8 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.00941, allocations: 0 / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.009872, allocations: 129.4 kB / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01095, allocations: 444.3 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.01175, allocations: 183.5 kB / 0.8158 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.01199, allocations: 72.98 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.01201, allocations: 1.156 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.01206, allocations: 49.38 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01206, allocations: 0 / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0008494/0.01291, allocations: 220.4 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.01296, allocations: 63.28 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01316, allocations: 210 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.01322, allocations: 26.52 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01333, allocations: 166.9 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.01337, allocations: 24.73 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.01345, allocations: 35.36 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002875/0.01373, allocations: 0.4936 MB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01396, allocations: 59.95 kB / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.01421, allocations: 95.84 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.01474, allocations: 149.6 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01474, allocations: 256 / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005432/0.01528, allocations: 188.9 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.0153, allocations: 4.938 kB / 0.8176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01531, allocations: 4 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01532, allocations: 3.938 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.01555, allocations: 28.56 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01555, allocations: 0 / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.01571, allocations: 13.17 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.01573, allocations: 7.984 kB / 0.8176 GB, free: 10.87 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 0.0001493/0.01588, allocations: 169.8 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.01593, allocations: 15.89 kB / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.01653, allocations: 184.8 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.01654, allocations: 3.938 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01654, allocations: 0.6562 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01654, allocations: 0 / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.01682, allocations: 175 kB / 0.8182 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01682, allocations: 4 kB / 0.8182 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.01701, allocations: 23.97 kB / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01701, allocations: 7.531 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01702, allocations: 0 / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01703, allocations: 0 / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01703, allocations: 4.094 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.01765, allocations: 315.7 kB / 0.8185 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.01768, allocations: 15.84 kB / 0.8185 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.0177, allocations: 0 / 0.8185 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.01794, allocations: 21.09 kB / 0.8185 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.01799, allocations: 12.97 kB / 0.8186 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.01801, allocations: 11.98 kB / 0.8186 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000118/0.01813, allocations: 151.2 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01813, allocations: 1.125 kB / 0.8187 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002595/0.01839, allocations: 24 kB / 0.8187 GB, free: 9.691 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.0001625/0.01855, allocations: 96.34 kB / 0.8188 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.01911, allocations: 164 kB / 0.819 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01911, allocations: 0 / 0.819 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.01949, allocations: 79.58 kB / 0.8191 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.01979, allocations: 23.86 kB / 0.8191 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.02044, allocations: 258.6 kB / 0.8193 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02056, allocations: 95.55 kB / 0.8194 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.324e-05/0.02065, allocations: 12.69 kB / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.02072, allocations: 20.48 kB / 0.8195 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.02072, allocations: 0 / 0.8195 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of Templates: time 0.004979/0.0257, allocations: 1.554 MB / 0.821 GB, free: 7.375 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.090906210942194]