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.001284/0.001284, allocations: 108.7 kB / 15.99 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.001323/0.001323, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.452/2.452, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.41 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.266, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001955/0.268, allocations: 0.6512 MB / 0.9504 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2694, allocations: 1.098 MB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.2694, allocations: 3.938 kB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.2694, allocations: 0 / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.2697, allocations: 19.97 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.2697, allocations: 4 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.372e-05/0.2697, allocations: 3.938 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.2698, allocations: 0 / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.2698, allocations: 7.938 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.2698, allocations: 4 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.2699, allocations: 0 / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.27, allocations: 15.98 kB / 0.9515 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.27, allocations: 3.984 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.27, allocations: 3.938 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.579e-05/0.2701, allocations: 7.984 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2701, allocations: 7.938 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2701, allocations: 4 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2701, allocations: 0 / 0.9516 GB, free: 7.383 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.0004088/0.2705, allocations: 323.5 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2706, allocations: 8.031 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.2706, allocations: 0.9375 kB / 0.9519 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.2707, allocations: 160.4 kB / 0.952 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.2708, allocations: 8.312 kB / 0.952 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.2708, allocations: 384 / 0.952 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2709, allocations: 49.98 kB / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2709, allocations: 0 / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2709, allocations: 0 / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2709, allocations: 0 / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/0.271, allocations: 4 kB / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.2711, allocations: 157.6 kB / 0.9523 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.2713, allocations: 34.61 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.2714, allocations: 12.86 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.2715, allocations: 81.2 kB / 0.9524 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2716, allocations: 38.48 kB / 0.9524 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2716, allocations: 0 / 0.9524 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.004407/0.276, allocations: 0.5679 MB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.276, allocations: 51.41 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.2761, allocations: 89.86 kB / 0.9531 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2761, allocations: 25.7 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2761, allocations: 96.14 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.2762, allocations: 15.66 kB / 0.9532 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.2763, allocations: 21.7 kB / 0.9533 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2764, allocations: 314.8 kB / 0.9536 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.277, allocations: 87.95 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.2777, allocations: 98.59 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2788, allocations: 194.5 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2788, allocations: 0 / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001236/0.2801, allocations: 213.5 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2801, allocations: 8.062 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2801, allocations: 3.938 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2802, allocations: 4 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.2806, allocations: 47.97 kB / 0.9542 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2806, allocations: 0 / 0.9542 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2809, allocations: 47.97 kB / 0.9542 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2809, allocations: 4 kB / 0.9542 GB, free: 4.402 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 9.759e-05/0.2811, allocations: 105.8 kB / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2811, allocations: 3.938 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2825, allocations: 241 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2825, allocations: 4 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2825, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2825, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.284, allocations: 454.4 kB / 0.955 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2841, allocations: 0 / 0.955 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.2845, allocations: 55.91 kB / 0.9551 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2845, allocations: 3.938 kB / 0.9551 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2845, allocations: 3.984 kB / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2845, allocations: 0 / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2845, allocations: 0 / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.2858, allocations: 312 kB / 0.9554 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2859, allocations: 81.11 kB / 0.9554 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.2859, allocations: 0 / 0.9554 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.2863, allocations: 43.98 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.2863, allocations: 3.984 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2863, allocations: 7.984 kB / 0.9555 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.2864, allocations: 75.28 kB / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.373e-06/0.2864, allocations: 0 / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002593/0.2866, allocations: 15.94 kB / 0.9556 GB, free: 2.914 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.0001827/0.2868, allocations: 111.2 kB / 0.9557 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.2881, allocations: 183.9 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2881, allocations: 0 / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.2887, allocations: 92.02 kB / 0.9559 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.289, allocations: 8.938 kB / 0.956 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2902, allocations: 238.7 kB / 0.9562 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2904, allocations: 0.6805 MB / 0.9568 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2905, allocations: 7.438 kB / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.2905, allocations: 0 / 0.9569 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of Templates: time 0.002941/0.2935, allocations: 1.106 MB / 0.9579 GB, free: 448 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