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.001477/0.001476, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001606/0.001606, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 61.2 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002047/0.281, allocations: 0.5848 MB / 0.9509 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2825, allocations: 1.11 MB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2826, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2826, allocations: 0 / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.2829, allocations: 19.91 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.2829, allocations: 3.938 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.715e-05/0.2829, allocations: 4 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.283, allocations: 0 / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.283, allocations: 0 / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.474e-05/0.283, allocations: 4 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.251e-06/0.2831, allocations: 0 / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2832, allocations: 27.91 kB / 0.952 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.2832, allocations: 4 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.2832, allocations: 3.938 kB / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.332e-05/0.2833, allocations: 11.98 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2833, allocations: 4 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2833, allocations: 0 / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2833, allocations: 0 / 0.952 GB, free: 7.066 MB / 0.7325 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.0002773/0.2836, allocations: 319.5 kB / 0.9523 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2836, allocations: 8.031 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.2837, allocations: 4.875 kB / 0.9523 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.2838, allocations: 168.4 kB / 0.9525 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2838, allocations: 8.359 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.2838, allocations: 384 / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2839, allocations: 38.02 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2839, allocations: 0 / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.284, allocations: 0 / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.284, allocations: 0 / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.284, allocations: 7.984 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.2842, allocations: 157.6 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2844, allocations: 46.48 kB / 0.9527 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.2844, allocations: 8.859 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2846, allocations: 85.19 kB / 0.9528 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2846, allocations: 34.5 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2846, allocations: 0 / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.004321/0.2889, allocations: 0.5679 MB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.289, allocations: 51.41 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.289, allocations: 93.86 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2891, allocations: 33.7 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.2891, allocations: 80.14 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.2891, allocations: 15.7 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.2892, allocations: 17.72 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2893, allocations: 310.8 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.29, allocations: 87.95 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.2906, allocations: 106.5 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2918, allocations: 190.5 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2918, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001272/0.2931, allocations: 213.7 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2931, allocations: 4 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2931, allocations: 4 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2932, allocations: 7.984 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.2936, allocations: 55.94 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2936, allocations: 0 / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.294, allocations: 39.98 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.294, allocations: 4 kB / 0.9547 GB, free: 4.086 MB / 0.7325 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.657e-05/0.2941, allocations: 107.8 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.2941, allocations: 7.938 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2955, allocations: 241.1 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2955, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2955, allocations: 3.938 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2955, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.2971, allocations: 450.5 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2971, allocations: 432 / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.2975, allocations: 51.97 kB / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2975, allocations: 0 / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2976, allocations: 0 / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2976, allocations: 11.88 kB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2976, allocations: 0 / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.2989, allocations: 307.3 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.2989, allocations: 81.09 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.299, allocations: 4 kB / 0.9559 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2994, allocations: 47.91 kB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.2994, allocations: 192 / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2994, allocations: 8 kB / 0.9559 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.2994, allocations: 79.28 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2994, allocations: 0 / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002683/0.2997, allocations: 12 kB / 0.956 GB, free: 2.598 MB / 0.7325 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.0002041/0.2999, allocations: 111.2 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3012, allocations: 179.8 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3013, allocations: 0 / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.3019, allocations: 96 kB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3021, allocations: 8 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3033, allocations: 234.7 kB / 0.9566 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3036, allocations: 0.6805 MB / 0.9573 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3037, allocations: 11.42 kB / 0.9573 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3037, allocations: 0 / 0.9573 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of Templates: time 0.002614/0.3063, allocations: 1.106 MB / 0.9584 GB, free: 120 kB / 0.7325 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/jenkins1/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