Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001599/0.001599, allocations: 106.6 kB / 15.98 MB, free: 6.359 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.001638/0.001638, allocations: 195.8 kB / 16.91 MB, free: 6.191 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.23 kB / 0.8694 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001838/0.3071, allocations: 0.6494 MB / 1.018 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3085, allocations: 1.106 MB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.3086, allocations: 0 / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3086, allocations: 3.938 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.3088, allocations: 19.98 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.3089, allocations: 0 / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.3089, allocations: 7.984 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.3089, allocations: 0 / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.309, allocations: 0 / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.798e-05/0.309, allocations: 3.938 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.309, allocations: 4 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.3091, allocations: 19.92 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-06/0.3091, allocations: 0 / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.3091, allocations: 7.984 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.751e-05/0.3092, allocations: 15.98 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3092, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3092, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3092, allocations: 0 / 1.019 GB, free: 9.141 MB / 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.0003308/0.3096, allocations: 315.5 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3096, allocations: 12.03 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3096, allocations: 0.9375 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3098, allocations: 160.4 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3098, allocations: 4.375 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.3098, allocations: 4.375 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.3099, allocations: 45.98 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3099, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3099, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3099, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.31, allocations: 11.98 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.3102, allocations: 153.6 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3104, allocations: 42.48 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.3104, allocations: 12.86 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.3105, allocations: 85.19 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3106, allocations: 34.5 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3106, allocations: 4 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.004335/0.3149, allocations: 0.5717 MB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.315, allocations: 51.41 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.3151, allocations: 89.86 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3151, allocations: 25.7 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.3152, allocations: 88.14 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3152, allocations: 15.81 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.3153, allocations: 17.7 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3154, allocations: 314.8 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.316, allocations: 83.95 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.3167, allocations: 102.5 kB / 1.021 GB, free: 6.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3179, allocations: 186.5 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3179, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001275/0.3192, allocations: 217.6 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.3192, allocations: 12 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3192, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3193, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.3197, allocations: 55.91 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3197, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.32, allocations: 43.97 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3201, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 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.0001039/0.3202, allocations: 113.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.3202, allocations: 3.938 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3216, allocations: 237 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3216, allocations: 8 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.3216, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3216, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.3231, allocations: 458.3 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3232, allocations: 3.984 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3235, allocations: 44.3 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3235, allocations: 3.984 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.3236, allocations: 15.94 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3236, allocations: 3.938 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3236, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3248, allocations: 303.4 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.3249, allocations: 81.53 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3249, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.3253, allocations: 43.92 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.3253, allocations: 3.984 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3253, allocations: 0 / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.3254, allocations: 75.28 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3254, allocations: 0 / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000267/0.3257, allocations: 24 kB / 1.023 GB, free: 4.668 MB / 0.795 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.000196/0.3259, allocations: 103.8 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.3271, allocations: 187.8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3271, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.3277, allocations: 96.02 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.328, allocations: 1.312 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3291, allocations: 250.7 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3294, allocations: 0.6768 MB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.3295, allocations: 15.42 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3295, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of Templates: time 0.002855/0.3324, allocations: 1.092 MB / 1.026 GB, free: 2.199 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches