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.0009721/0.0009719, allocations: 98.88 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.001403/0.001403, allocations: 182.2 kB / 16.92 MB, free: 6.707 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 14.36 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2843, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006704/0.285, allocations: 322.9 kB / 1.06 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2864, allocations: 1.108 MB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.2864, allocations: 0 / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.2864, allocations: 0 / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.2866, allocations: 15.92 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.726e-06/0.2866, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.079e-05/0.2867, allocations: 3.984 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.2867, allocations: 3.938 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.2867, allocations: 4 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.2868, allocations: 3.938 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.2868, allocations: 0 / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.2869, allocations: 23.98 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.2869, allocations: 11.92 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.2869, allocations: 25.7 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.346e-05/0.287, allocations: 7.984 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.287, allocations: 4 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.287, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.287, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 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.00022/0.2872, allocations: 307.6 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2873, allocations: 19.97 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2873, allocations: 4.922 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.2874, allocations: 168.4 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.2874, allocations: 384 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2874, allocations: 4.375 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.2875, allocations: 38 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2876, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2876, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2876, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.2876, allocations: 8 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2878, allocations: 149.7 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2879, allocations: 38.52 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.288, allocations: 12.94 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.2881, allocations: 85.05 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2881, allocations: 38.5 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.2881, allocations: 7.984 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.004181/0.2923, allocations: 0.5717 MB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2924, allocations: 55.41 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.132e-05/0.2924, allocations: 89.86 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2924, allocations: 25.7 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.2925, allocations: 80.14 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.2925, allocations: 19.8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2925, allocations: 9.719 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.2926, allocations: 310.8 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.2932, allocations: 87.95 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.2938, allocations: 106.5 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.295, allocations: 182.5 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.295, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001225/0.2962, allocations: 217.5 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2962, allocations: 8 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2963, allocations: 3.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2963, allocations: 0 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.2967, allocations: 59.94 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2967, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.297, allocations: 43.97 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2971, allocations: 0 / 1.063 GB, free: 472 kB / 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 9.522e-05/0.2972, allocations: 109.8 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.2972, allocations: 3.938 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.2985, allocations: 241.1 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2986, allocations: 7.922 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2986, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2986, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.3001, allocations: 458.3 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3001, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3005, allocations: 47.97 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3005, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3005, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3005, allocations: 7.938 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3005, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3018, allocations: 311.6 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.3018, allocations: 77.11 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3019, allocations: 4 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.3022, allocations: 43.97 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.3023, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3023, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.3023, allocations: 83.31 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3023, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000244/0.3026, allocations: 8 kB / 1.065 GB, free: 14.98 MB / 0.8262 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.0001653/0.3027, allocations: 107.2 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.304, allocations: 183.8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.304, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.3046, allocations: 88.08 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.3049, allocations: 11.88 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.306, allocations: 244.4 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3063, allocations: 0.6731 MB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.3064, allocations: 15.42 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3064, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.002522/0.3089, allocations: 1.089 MB / 1.067 GB, free: 12.51 MB / 0.8262 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 -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