Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001712, allocations: 102.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.717 GB, free: 4.137 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=501,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.89 kB / 1.027 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8668, allocations: 151.6 MB / 1.175 GB, free: 17.96 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002523/0.8694, allocations: 1.783 MB / 1.177 GB, free: 16.71 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.8703, allocations: 0.6493 MB / 1.178 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.8704, allocations: 1.062 kB / 1.178 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.8704, allocations: 19.8 kB / 1.178 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.8705, allocations: 14.52 kB / 1.178 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.871, allocations: 169.6 kB / 1.178 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.8712, allocations: 120.6 kB / 1.178 GB, free: 16.1 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.8713, allocations: 45.92 kB / 1.178 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.8715, allocations: 60.78 kB / 1.178 GB, free: 16.05 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.8716, allocations: 52.16 kB / 1.178 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.8716, allocations: 9 kB / 1.178 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.8717, allocations: 49.08 kB / 1.178 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.8718, allocations: 37.11 kB / 1.178 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.8718, allocations: 52.36 kB / 1.178 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.872, allocations: 149.6 kB / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.872, allocations: 0 / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8721, allocations: 0 / 1.178 GB, free: 15.9 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.8721, allocations: 0 / 1.178 GB, free: 15.9 MB / 0.92 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.0005296/0.8726, allocations: 446 kB / 1.179 GB, free: 15.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.8727, allocations: 10.14 kB / 1.179 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.8735, allocations: 109.8 kB / 1.179 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.8736, allocations: 194.4 kB / 1.179 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.8737, allocations: 65.3 kB / 1.179 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.8738, allocations: 9.656 kB / 1.179 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.8743, allocations: 166.2 kB / 1.179 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8743, allocations: 7.922 kB / 1.179 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.8743, allocations: 5.516 kB / 1.179 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8743, allocations: 5.531 kB / 1.179 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.875, allocations: 152.3 kB / 1.179 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.8761, allocations: 495 kB / 1.18 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.8772, allocations: 223 kB / 1.18 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.8775, allocations: 80.69 kB / 1.18 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.8775, allocations: 6.469 kB / 1.18 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.8776, allocations: 35.78 kB / 1.18 GB, free: 14.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.8776, allocations: 0 / 1.18 GB, free: 14.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.8786, allocations: 258.9 kB / 1.18 GB, free: 14.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.8787, allocations: 55.41 kB / 1.18 GB, free: 14.44 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.8788, allocations: 136.8 kB / 1.181 GB, free: 14.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.8788, allocations: 29.7 kB / 1.181 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.8788, allocations: 114 kB / 1.181 GB, free: 14.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.8789, allocations: 24.23 kB / 1.181 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.8789, allocations: 23.95 kB / 1.181 GB, free: 14.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.879, allocations: 320.5 kB / 1.181 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.8793, allocations: 76.95 kB / 1.181 GB, free: 13.81 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.8796, allocations: 93.81 kB / 1.181 GB, free: 13.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.8802, allocations: 164.4 kB / 1.181 GB, free: 13.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8802, allocations: 0 / 1.181 GB, free: 13.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006969/0.8809, allocations: 206.4 kB / 1.182 GB, free: 13.63 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.881, allocations: 5.281 kB / 1.182 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.881, allocations: 1.344 kB / 1.182 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.881, allocations: 5.969 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.8813, allocations: 34.94 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8813, allocations: 6.391 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.8815, allocations: 24.84 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.8815, allocations: 7.781 kB / 1.182 GB, free: 13.61 MB / 0.92 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.793e-05/0.8816, allocations: 119 kB / 1.182 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.8816, allocations: 8.953 kB / 1.182 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.8824, allocations: 214.6 kB / 1.182 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8824, allocations: 1.875 kB / 1.182 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8824, allocations: 0 / 1.182 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8824, allocations: 2.016 kB / 1.182 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.8826, allocations: 232 kB / 1.182 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8826, allocations: 0 / 1.182 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.8829, allocations: 36.75 kB / 1.182 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8829, allocations: 0.5625 kB / 1.182 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.8829, allocations: 6 kB / 1.182 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8829, allocations: 1.094 kB / 1.182 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8829, allocations: 0.6094 kB / 1.182 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.8836, allocations: 289.9 kB / 1.183 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.8837, allocations: 84.22 kB / 1.183 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.8837, allocations: 9.938 kB / 1.183 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.884, allocations: 29.08 kB / 1.183 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.8841, allocations: 8.531 kB / 1.183 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.8841, allocations: 7.719 kB / 1.183 GB, free: 12.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.8842, allocations: 105.6 kB / 1.183 GB, free: 12.8 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8842, allocations: 1.125 kB / 1.183 GB, free: 12.8 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002611/0.8844, allocations: 27.52 kB / 1.183 GB, free: 12.8 MB / 0.92 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.0001016/0.8845, allocations: 97.34 kB / 1.183 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007155/0.8853, allocations: 168.4 kB / 1.183 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8853, allocations: 0 / 1.183 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.8856, allocations: 81.27 kB / 1.183 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.8859, allocations: 8.594 kB / 1.183 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.8865, allocations: 265.1 kB / 1.183 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.8867, allocations: 0.6985 MB / 1.184 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.725e-05/0.8868, allocations: 20.39 kB / 1.184 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.8868, allocations: 13.27 kB / 1.184 GB, free: 11.76 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.8868, allocations: 0 / 1.184 GB, free: 11.76 MB / 0.92 GB Notification: Performance of Templates: time 0.004252/0.8911, allocations: 1.474 MB / 1.186 GB, free: 11.64 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches