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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 195.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.91 kB / 0.8692 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6976, allocations: 151.6 MB / 1.017 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002981/0.7006, allocations: 1.769 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7017, allocations: 0.6553 MB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.7018, allocations: 4 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.7019, allocations: 15.8 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.702, allocations: 19.8 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.7026, allocations: 175.2 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.7027, allocations: 119.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.7029, allocations: 45.11 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.703, allocations: 59.81 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.7031, allocations: 43.78 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7031, allocations: 12 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.7032, allocations: 47.97 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.7033, allocations: 31.89 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.7034, allocations: 63.64 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.7036, allocations: 137.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7036, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7036, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.7036, allocations: 7.984 kB / 1.02 GB, free: 15.37 MB / 0.7794 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.0005786/0.7042, allocations: 435 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7042, allocations: 11.97 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.7051, allocations: 116.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7052, allocations: 181.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.7053, allocations: 55.97 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.7054, allocations: 12.38 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.7059, allocations: 169.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7059, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.7059, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.706, allocations: 7.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.7066, allocations: 155.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.7077, allocations: 485.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.7087, allocations: 214.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.7091, allocations: 88.84 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.7091, allocations: 3.984 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.7091, allocations: 38.56 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.7091, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001079/0.7102, allocations: 265.4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7103, allocations: 51.41 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.7104, allocations: 139.5 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.7105, allocations: 25.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.7105, allocations: 112.2 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.7106, allocations: 23.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.7106, allocations: 21.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7108, allocations: 318.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.7111, allocations: 71.91 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.7114, allocations: 94.5 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.7121, allocations: 166.4 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7121, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006966/0.7128, allocations: 201.4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7128, allocations: 8.062 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7128, allocations: 3.984 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7128, allocations: 8.25 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.7131, allocations: 31.95 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.7131, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.7133, allocations: 31.84 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.7134, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 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.0001496/0.7135, allocations: 125.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.7136, allocations: 11.81 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.7144, allocations: 210.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7144, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7144, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7144, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.7147, allocations: 241.9 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7147, allocations: 4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.715, allocations: 31.89 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.715, allocations: 4 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.715, allocations: 11.88 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.715, allocations: 160 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.715, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.7158, allocations: 279.3 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.7158, allocations: 85.02 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.7159, allocations: 7.938 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.7162, allocations: 27.95 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.7163, allocations: 11.98 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.7163, allocations: 7.984 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.322e-05/0.7164, allocations: 100.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7164, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002719/0.7166, allocations: 23.94 kB / 1.025 GB, free: 10.36 MB / 0.7794 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.000161/0.7168, allocations: 115.2 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007302/0.7176, allocations: 159.8 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7176, allocations: 3.938 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.7179, allocations: 80.3 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.7182, allocations: 17.52 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.7189, allocations: 263.3 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.7192, allocations: 0.7002 MB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.945e-05/0.7193, allocations: 16 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.7194, allocations: 15.42 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7194, allocations: 0 / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of Templates: time 0.004/0.7234, allocations: 1.473 MB / 1.028 GB, free: 7.477 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) 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) Reference file matches