Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 110.6 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 195.6 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8504, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002657/0.8531, allocations: 1.788 MB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.8541, allocations: 0.6533 MB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.8542, allocations: 3.469 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.8542, allocations: 11.16 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.8543, allocations: 15.73 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.8548, allocations: 171.5 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.855, allocations: 121.7 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.8551, allocations: 48.88 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.8553, allocations: 61.5 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.8554, allocations: 55.03 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.8554, allocations: 9.719 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.8555, allocations: 49.62 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.8556, allocations: 28.56 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.8556, allocations: 60.53 kB / 1.266 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.8559, allocations: 144.7 kB / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8559, allocations: 1.094 kB / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.8559, allocations: 0 / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8559, allocations: 0 / 1.266 GB, free: 5.957 MB / 0.9981 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.0005327/0.8564, allocations: 442.5 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.8565, allocations: 9.062 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.8573, allocations: 113 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.8574, allocations: 186.3 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.8575, allocations: 64.58 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.8575, allocations: 5.75 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.8581, allocations: 177.8 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8581, allocations: 3.938 kB / 1.267 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.8581, allocations: 2.25 kB / 1.267 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8581, allocations: 5.453 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.8588, allocations: 160.4 kB / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.8598, allocations: 474 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.8609, allocations: 220.2 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.8612, allocations: 84.56 kB / 1.268 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.8612, allocations: 1.484 kB / 1.268 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.8612, allocations: 36.7 kB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.8613, allocations: 0.8438 kB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001075/0.8623, allocations: 265.4 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.8624, allocations: 53.34 kB / 1.268 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.8625, allocations: 149.3 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.8625, allocations: 26.55 kB / 1.268 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.8625, allocations: 117.9 kB / 1.268 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.8626, allocations: 24.09 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.8626, allocations: 24.12 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.8627, allocations: 319.9 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.863, allocations: 70.5 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.8633, allocations: 95.95 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.864, allocations: 169.5 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.864, allocations: 0 / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007017/0.8647, allocations: 202.7 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8647, allocations: 8.969 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8647, allocations: 1.688 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8647, allocations: 5.562 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.865, allocations: 35.12 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.865, allocations: 4.656 kB / 1.269 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.8652, allocations: 25.91 kB / 1.269 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.8652, allocations: 4.031 kB / 1.269 GB, free: 3.684 MB / 0.9981 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.862e-05/0.8653, allocations: 123.1 kB / 1.269 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.8654, allocations: 8.891 kB / 1.269 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.8661, allocations: 207.6 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8661, allocations: 1.031 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8661, allocations: 0 / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8661, allocations: 1.594 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.8663, allocations: 233.8 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8663, allocations: 0 / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.8666, allocations: 37.12 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8666, allocations: 5.094 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.8666, allocations: 8.969 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8666, allocations: 4.969 kB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8666, allocations: 0 / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.8673, allocations: 278.9 kB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.8673, allocations: 87.86 kB / 1.27 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.8673, allocations: 11.78 kB / 1.27 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.8676, allocations: 32.38 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.8677, allocations: 2.812 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.8677, allocations: 7.312 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.8678, allocations: 107.8 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8678, allocations: 0.8125 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002542/0.868, allocations: 23.44 kB / 1.27 GB, free: 2.867 MB / 0.9981 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.0001043/0.8681, allocations: 106.6 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006776/0.8688, allocations: 155.2 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8688, allocations: 12.97 kB / 1.271 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.8692, allocations: 79.41 kB / 1.271 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.8695, allocations: 11.48 kB / 1.271 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.8701, allocations: 285.5 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.8702, allocations: 0.7044 MB / 1.272 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.8703, allocations: 15.92 kB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.8703, allocations: 0 / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of Templates: time 0.003437/0.8738, allocations: 1.612 MB / 1.273 GB, free: 1.664 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.795313891023397]