Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001041, allocations: 99.03 kB / 16.02 MB, free: 76 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.001372/0.001372, allocations: 184.6 kB / 16.92 MB, free: 6.895 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5923/0.5927, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006674/0.5934, allocations: 333.5 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.5948, allocations: 1.089 MB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.5948, allocations: 7.938 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.5948, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.595, allocations: 7.938 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.324e-06/0.595, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.287e-05/0.5951, allocations: 8 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.5951, allocations: 7.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.19e-05/0.5951, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.5951, allocations: 7.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.5952, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.5953, allocations: 19.92 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.5953, allocations: 7.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.5953, allocations: 25.7 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.398e-05/0.5954, allocations: 15.97 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5954, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5954, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5954, allocations: 0 / 1.025 GB, free: 14.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002195/0.5956, allocations: 315.5 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5956, allocations: 8.031 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.5957, allocations: 4.938 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.5958, allocations: 168.4 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.5958, allocations: 8.312 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5958, allocations: 384 / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.5959, allocations: 38.02 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5959, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.5959, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5959, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.596, allocations: 7.984 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.5961, allocations: 149.7 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.5963, allocations: 38.52 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.5963, allocations: 12.94 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.5965, allocations: 81.11 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5965, allocations: 34.5 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.5965, allocations: 3.938 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004366/0.6009, allocations: 0.5657 MB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.6009, allocations: 55.41 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.601, allocations: 93.86 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.601, allocations: 25.7 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.601, allocations: 80.14 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.6011, allocations: 23.64 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.6011, allocations: 13.72 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.6012, allocations: 314.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.6018, allocations: 83.95 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.6024, allocations: 106.5 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.6036, allocations: 186.4 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6037, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001306/0.605, allocations: 221.5 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.605, allocations: 8 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.605, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.605, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.6054, allocations: 52 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6055, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.6058, allocations: 47.91 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.6058, allocations: 0 / 1.028 GB, free: 11.35 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 (5): * Single equations (assignments): 5 * 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 8.267e-05/0.6059, allocations: 114.4 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.606, allocations: 4.125 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.6074, allocations: 237.1 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6074, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6074, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6074, allocations: 4.406 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.6089, allocations: 454.4 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6089, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.6093, allocations: 47.97 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6093, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.6094, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6094, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6094, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6107, allocations: 315.2 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.6107, allocations: 81.11 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.6108, allocations: 3.938 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.6111, allocations: 35.98 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.6112, allocations: 7.984 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6112, allocations: 0 / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.522e-05/0.6112, allocations: 75.28 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6112, allocations: 4 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002548/0.6115, allocations: 20 kB / 1.029 GB, free: 9.859 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 (5): * Single equations (assignments): 5 * 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.0001641/0.6116, allocations: 101.2 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.6129, allocations: 187.8 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.613, allocations: 0 / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.6136, allocations: 92.08 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.6138, allocations: 0.75 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.6149, allocations: 240.4 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.6152, allocations: 0.677 MB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.6152, allocations: 19.38 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6153, allocations: 3.938 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of Templates: time 0.002437/0.6177, allocations: 1.095 MB / 1.032 GB, free: 7.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches