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.001653/0.001653, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001706/0.001706, allocations: 187 kB / 17.34 MB, free: 5.719 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.09 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.383/2.383, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8005, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00162/0.8022, allocations: 0.5851 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.8034, allocations: 1.12 MB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.8035, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.8035, allocations: 1.188 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.8037, allocations: 20.8 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.387e-06/0.8037, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.8038, allocations: 3.078 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.8038, allocations: 2.688 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.8038, allocations: 5.281 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.343e-05/0.8039, allocations: 6.109 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.695e-06/0.8039, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.804, allocations: 20.92 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.262e-06/0.804, allocations: 7.984 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.804, allocations: 1.547 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.8041, allocations: 12.31 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8041, allocations: 0 / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8041, allocations: 1.672 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8041, allocations: 0 / 1.09 GB, free: 4.273 MB / 0.8575 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.0002246/0.8044, allocations: 320.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8044, allocations: 8.781 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.8044, allocations: 2.094 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.828e-05/0.8045, allocations: 165.9 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.8045, allocations: 1.969 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.8045, allocations: 2.188 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.8046, allocations: 42.86 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8047, allocations: 1.672 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.8047, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8047, allocations: 1.188 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.8047, allocations: 5.078 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.8048, allocations: 150.9 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.805, allocations: 41.91 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.805, allocations: 8.344 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.8052, allocations: 86.8 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.8052, allocations: 36.44 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.8052, allocations: 0 / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.00436/0.8096, allocations: 0.576 MB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.8096, allocations: 52.97 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.915e-05/0.8096, allocations: 94.38 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.8097, allocations: 25.7 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.196e-05/0.8097, allocations: 81.33 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.8097, allocations: 11.34 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.8098, allocations: 20.36 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.8099, allocations: 317.3 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.8105, allocations: 86.42 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.8111, allocations: 104.9 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.8123, allocations: 198.4 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8123, allocations: 0.9062 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001302/0.8136, allocations: 217.7 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8137, allocations: 4.906 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8137, allocations: 0.8125 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8137, allocations: 1.406 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.8141, allocations: 54.05 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8141, allocations: 2.234 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.8145, allocations: 39.64 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.8145, allocations: 3.672 kB / 1.093 GB, free: 2.418 MB / 0.8575 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 7.391e-05/0.8146, allocations: 116 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.8146, allocations: 9.75 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.816, allocations: 230.6 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.816, allocations: 2.172 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.816, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8161, allocations: 5.5 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.8175, allocations: 458 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8176, allocations: 0.6562 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.818, allocations: 48.77 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.818, allocations: 1.516 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.818, allocations: 1.328 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.818, allocations: 0.8125 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.818, allocations: 0.7031 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.8193, allocations: 309.6 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.8193, allocations: 86.28 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.8194, allocations: 1.5 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.8198, allocations: 40 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.8198, allocations: 3.281 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.8198, allocations: 2.203 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.747e-05/0.8198, allocations: 76.59 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8198, allocations: 0 / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002662/0.8201, allocations: 10.05 kB / 1.094 GB, free: 1.551 MB / 0.8575 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.0001845/0.8203, allocations: 115.6 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.8217, allocations: 183.6 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8217, allocations: 0 / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.8223, allocations: 93.95 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.8225, allocations: 9.656 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.8237, allocations: 231.2 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.8238, allocations: 0.6786 MB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.8239, allocations: 13.88 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of SimCode: time 1.103e-06/0.8239, allocations: 0 / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of Templates: time 0.002984/0.8269, allocations: 1.103 MB / 1.097 GB, free: 488 kB / 0.8575 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