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.001983/0.001983, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002119/0.002119, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.835/2.835, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.743e-06/1.743e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.18e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003393/0.003425, allocations: 1.766 MB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004896, allocations: 0.692 MB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.004961, allocations: 0 / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.005005, allocations: 12.64 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.005089, allocations: 25.42 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.005734, allocations: 189.8 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004793/0.006213, allocations: 119.6 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.006369, allocations: 42.7 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.006602, allocations: 83.86 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.006692, allocations: 31.89 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.006723, allocations: 9.375 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.006851, allocations: 55.84 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.006901, allocations: 39.83 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.006966, allocations: 41.64 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.007255, allocations: 163.5 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.007258, allocations: 3.938 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.007259, allocations: 0 / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.007264, allocations: 4 kB / 0.814 GB, free: 14.84 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.000706/0.00797, allocations: 366.5 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00801, allocations: 8.719 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.009136, allocations: 143.7 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.009467, allocations: 156.4 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.009611, allocations: 113.9 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.009648, allocations: 12.31 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.01027, allocations: 225.2 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.01028, allocations: 0.5312 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.01031, allocations: 4.719 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.01032, allocations: 4 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.01098, allocations: 158.6 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01216, allocations: 388.3 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.01326, allocations: 210.5 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.01359, allocations: 76.91 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.01362, allocations: 14.77 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.01366, allocations: 30.56 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01366, allocations: 0 / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.001152/0.01482, allocations: 259.8 kB / 0.8161 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.01487, allocations: 63.33 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.01503, allocations: 135.1 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.01507, allocations: 35.55 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.01516, allocations: 108.2 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.0152, allocations: 27.83 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.01527, allocations: 21.66 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.01546, allocations: 322.8 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.0158, allocations: 77.2 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.01616, allocations: 103.6 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.01682, allocations: 159.6 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01683, allocations: 0 / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007714/0.0176, allocations: 202.8 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01762, allocations: 4 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01762, allocations: 4.938 kB / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.01765, allocations: 7.938 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.01794, allocations: 37.02 kB / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.01795, allocations: 7.984 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.01817, allocations: 25.03 kB / 0.8174 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.01819, allocations: 1.062 kB / 0.8174 GB, free: 11.21 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.0001359/0.01832, allocations: 117.8 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.01838, allocations: 15.91 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.01922, allocations: 210.4 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01922, allocations: 7.938 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01923, allocations: 0 / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01923, allocations: 0.5938 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.01949, allocations: 154 kB / 0.8178 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01949, allocations: 1 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.01975, allocations: 36.61 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01975, allocations: 0 / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01976, allocations: 8.062 kB / 0.8179 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01976, allocations: 0 / 0.8179 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01977, allocations: 4.219 kB / 0.8179 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.02058, allocations: 291.3 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.0206, allocations: 11.91 kB / 0.8182 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.02063, allocations: 3.984 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.02096, allocations: 39.95 kB / 0.8182 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.021, allocations: 3.938 kB / 0.8182 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.02104, allocations: 7.984 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.97e-05/0.02114, allocations: 109.7 kB / 0.8183 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02114, allocations: 3.938 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002946/0.02143, allocations: 27.94 kB / 0.8184 GB, free: 10.12 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.000156/0.02159, allocations: 95.25 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007609/0.02235, allocations: 167.8 kB / 0.8186 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.02235, allocations: 0 / 0.8186 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.0227, allocations: 76.05 kB / 0.8187 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.02304, allocations: 27.95 kB / 0.8187 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.02384, allocations: 260.8 kB / 0.819 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.02397, allocations: 89.17 kB / 0.8191 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.02408, allocations: 19.98 kB / 0.8191 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.02415, allocations: 12.5 kB / 0.8191 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.02415, allocations: 4 kB / 0.8191 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of Templates: time 0.00654/0.03069, allocations: 1.556 MB / 0.8206 GB, free: 7.797 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] 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: 7.671037627966143]