Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00525/0.00525, allocations: 103.8 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.39 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3175, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001618/0.3192, allocations: 0.5911 MB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3205, allocations: 1.112 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.3206, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.3206, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.3208, allocations: 15.94 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.811e-06/0.3209, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.305e-05/0.3209, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.321, allocations: 11.98 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.321, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.645e-05/0.321, allocations: 7.922 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.321, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3211, allocations: 19.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.3212, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.3212, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.3213, allocations: 15.97 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3213, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3213, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3213, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 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.0003043/0.3216, allocations: 323.5 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3216, allocations: 12.03 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.3217, allocations: 0.9375 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3218, allocations: 164.3 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3218, allocations: 4.375 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3218, allocations: 4.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.322, allocations: 38 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.322, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.322, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.322, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.3221, allocations: 19.92 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3223, allocations: 145.7 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3225, allocations: 38.55 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.3225, allocations: 4.859 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.3226, allocations: 89.19 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3227, allocations: 34.5 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3227, allocations: 8 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.004182/0.3269, allocations: 0.5753 MB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3269, allocations: 51.41 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.327, allocations: 89.86 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.327, allocations: 25.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3271, allocations: 81.56 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.3271, allocations: 15.81 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.3272, allocations: 21.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3273, allocations: 314.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/0.3279, allocations: 84.02 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.3285, allocations: 102.5 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3296, allocations: 194.4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3297, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00115/0.3308, allocations: 217.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3308, allocations: 8.062 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3309, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3309, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.3313, allocations: 47.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3313, allocations: 3.938 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.3316, allocations: 47.91 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3316, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 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 9.859e-05/0.3317, allocations: 109.8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.3317, allocations: 3.938 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.333, allocations: 237.1 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.333, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.333, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.333, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3345, allocations: 466.2 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3345, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.3348, allocations: 47.98 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3349, allocations: 3.984 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3349, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3349, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3349, allocations: 7.984 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3361, allocations: 315.6 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3361, allocations: 77.11 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3362, allocations: 7.938 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3365, allocations: 35.98 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.3365, allocations: 7.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3365, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.3366, allocations: 75.28 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3366, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000242/0.3368, allocations: 12 kB / 1.094 GB, free: 11.2 MB / 0.8575 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.0001757/0.337, allocations: 111.2 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.3382, allocations: 183.8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3382, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.3388, allocations: 96.08 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.339, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3402, allocations: 212.9 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3405, allocations: 0.6768 MB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.3406, allocations: 31.91 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.3407, allocations: 19.42 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3407, allocations: 0 / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.003186/0.3439, allocations: 0.8076 MB / 1.096 GB, free: 9.008 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches