Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007301/0.007301, allocations: 98.66 kB / 15.73 MB, free: 6.012 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.001958/0.001958, allocations: 191.8 kB / 16.67 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.952/2.952, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001982/0.3234, allocations: 0.5904 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.325, allocations: 1.125 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.325, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.3251, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3254, allocations: 11.92 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.3254, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.3254, allocations: 7.984 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.3255, allocations: 4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.3255, allocations: 4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.3255, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.3255, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3257, allocations: 19.92 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.3257, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.3257, allocations: 3.984 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.3258, allocations: 15.98 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3258, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3258, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3258, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 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.0003199/0.3261, allocations: 319.5 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3262, allocations: 16.03 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.3262, allocations: 4.875 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3263, allocations: 168.3 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3264, allocations: 4.375 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3264, allocations: 384 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3265, allocations: 34.02 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3265, allocations: 7.938 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3265, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3265, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.3266, allocations: 11.98 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3268, allocations: 149.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.327, allocations: 34.52 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.327, allocations: 8.953 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.3272, allocations: 85.09 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3272, allocations: 38.5 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3272, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00451/0.3317, allocations: 0.5715 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3317, allocations: 59.41 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.147e-05/0.3318, allocations: 89.86 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3318, allocations: 25.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.3318, allocations: 80.14 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.3319, allocations: 15.88 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3319, allocations: 21.72 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3321, allocations: 318.8 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.3327, allocations: 83.94 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.3333, allocations: 106.5 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3346, allocations: 186.5 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3346, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001269/0.3358, allocations: 213.5 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3358, allocations: 8 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3359, allocations: 8.047 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3359, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3363, allocations: 55.91 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3363, allocations: 0 / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.3366, allocations: 39.98 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3367, allocations: 0 / 1.225 GB, free: 8.965 MB / 0.9825 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 0.0001249/0.3368, allocations: 114.4 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3368, allocations: 7.922 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3382, allocations: 229.5 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3382, allocations: 8 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3382, allocations: 3.938 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3382, allocations: 256 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.3398, allocations: 462.3 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3398, allocations: 3.984 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.3401, allocations: 51.91 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3401, allocations: 0 / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3402, allocations: 4 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3402, allocations: 3.938 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3402, allocations: 0 / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3415, allocations: 311.4 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.3415, allocations: 77.11 kB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3415, allocations: 0 / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.3419, allocations: 43.97 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3419, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3419, allocations: 4 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.342, allocations: 75.28 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002687/0.3423, allocations: 19.94 kB / 1.226 GB, free: 7.473 MB / 0.9825 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.0002043/0.3425, allocations: 107.2 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.3437, allocations: 179.8 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3437, allocations: 0 / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.3443, allocations: 92.06 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3445, allocations: 9.062 kB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3458, allocations: 228.4 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3462, allocations: 0.6767 MB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.3464, allocations: 32.23 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.3464, allocations: 11.44 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of SimCode: time 9.71e-07/0.3464, allocations: 0 / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.003449/0.3499, allocations: 0.8154 MB / 1.228 GB, free: 5.277 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches