Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_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_latest_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.001153/0.001153, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001283/0.001283, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.34 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002144/0.3018, allocations: 0.5938 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3033, allocations: 1.114 MB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.3033, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.3033, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.3036, allocations: 23.86 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/0.3036, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.3037, allocations: 4 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.3037, allocations: 7.969 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.3038, allocations: 3.938 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.3038, allocations: 8 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3038, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3039, allocations: 19.92 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.3039, allocations: 0 / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.304, allocations: 0 / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.304, allocations: 27.91 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3041, allocations: 0 / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3041, allocations: 0 / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3041, allocations: 0 / 1.029 GB, free: 204 kB / 0.795 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.0002753/0.3044, allocations: 315.6 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3044, allocations: 8.031 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3044, allocations: 4.938 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/0.3045, allocations: 160.4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3045, allocations: 384 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.3046, allocations: 384 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3047, allocations: 49.94 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3047, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3047, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.3047, allocations: 4 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.3048, allocations: 4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.3049, allocations: 149.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3051, allocations: 34.61 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.3051, allocations: 16.8 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.3053, allocations: 81.2 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3053, allocations: 46.42 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3053, allocations: 0 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.004165/0.3095, allocations: 0.5717 MB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3095, allocations: 55.41 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.113e-05/0.3096, allocations: 97.86 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3096, allocations: 25.7 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.3096, allocations: 80.14 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.3097, allocations: 7.812 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3097, allocations: 25.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.3098, allocations: 310.8 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.3104, allocations: 91.89 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.311, allocations: 98.53 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3121, allocations: 190.4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3121, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001229/0.3133, allocations: 221.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3134, allocations: 8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3134, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3134, allocations: 3.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3138, allocations: 52 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3138, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3142, allocations: 43.97 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3142, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 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.119e-05/0.3143, allocations: 117.7 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3143, allocations: 7.938 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3156, allocations: 233.1 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3156, allocations: 4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3156, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3156, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.3171, allocations: 466.3 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3171, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.3175, allocations: 47.97 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3175, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3175, allocations: 8.297 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3175, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3175, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3187, allocations: 311.3 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.3188, allocations: 81.11 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3188, allocations: 0 / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.3192, allocations: 39.98 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.3192, allocations: 3.984 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3192, allocations: 4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.3192, allocations: 75.28 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3193, allocations: 3.938 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002433/0.3195, allocations: 12 kB / 1.033 GB, free: 11.73 MB / 0.8106 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.000175/0.3197, allocations: 105.6 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.3209, allocations: 195.8 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3209, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3215, allocations: 84.08 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3218, allocations: 8 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3229, allocations: 205 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3232, allocations: 0.6768 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.3234, allocations: 28 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.3234, allocations: 11.44 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of SimCode: time 8.22e-07/0.3234, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.002904/0.3264, allocations: 0.822 MB / 1.035 GB, free: 9.559 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches