Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001418/0.001418, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001542/0.001542, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9845, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002436/0.987, allocations: 0.5935 MB / 1.227 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.9892, allocations: 1.108 MB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.9893, allocations: 0 / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.9893, allocations: 0 / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.9897, allocations: 19.94 kB / 1.228 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.9897, allocations: 0 / 1.228 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.9898, allocations: 3.938 kB / 1.228 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.9899, allocations: 7.984 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.9899, allocations: 0 / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.154e-05/0.9899, allocations: 3.984 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.9899, allocations: 0 / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.9901, allocations: 23.92 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.9901, allocations: 11.94 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.9902, allocations: 0 / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.9903, allocations: 11.97 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9903, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9903, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.9903, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 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.0004085/0.9907, allocations: 327 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.9908, allocations: 8.031 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.9908, allocations: 0.9375 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.991, allocations: 160.4 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.991, allocations: 8.312 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.991, allocations: 4.375 kB / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.9912, allocations: 42 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.9912, allocations: 3.938 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.9912, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.9912, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.395e-05/0.9913, allocations: 7.984 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.9915, allocations: 149.7 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.9918, allocations: 42.59 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.9918, allocations: 4.859 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.992, allocations: 85.19 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.9921, allocations: 38.44 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/0.9921, allocations: 4 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.004451/0.9965, allocations: 0.5763 MB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.9966, allocations: 51.41 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.269e-05/0.9966, allocations: 89.86 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.9967, allocations: 25.7 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.9967, allocations: 80.14 kB / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.9968, allocations: 19.84 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.9968, allocations: 21.7 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9969, allocations: 310.8 kB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.9976, allocations: 87.95 kB / 1.23 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.9982, allocations: 102.6 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9994, allocations: 194.4 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9994, allocations: 4 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001284/1.001, allocations: 209.6 kB / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.001, allocations: 7.938 kB / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.001, allocations: 0 / 1.231 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.001, allocations: 4 kB / 1.231 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/1.001, allocations: 48 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.001, allocations: 0 / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.002, allocations: 47.97 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/1.002, allocations: 4 kB / 1.231 GB, free: 8.703 MB / 0.9512 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.182e-05/1.002, allocations: 110.4 kB / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/1.002, allocations: 3.938 kB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.003, allocations: 241 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.003, allocations: 3.938 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.003, allocations: 0 / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/1.003, allocations: 85.05 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/1.003, allocations: 8 kB / 1.231 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/1.004, allocations: 31.98 kB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/1.004, allocations: 8 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001614/1.005, allocations: 324.8 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001336/1.007, allocations: 378.7 kB / 1.232 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006008/1.007, allocations: 87.95 kB / 1.232 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.561e-05/1.007, allocations: 75.28 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of Backend: time 9.32e-07/1.007, allocations: 0 / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.008, allocations: 186.3 kB / 1.232 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004662/1.009, allocations: 0.5448 MB / 1.233 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of Templates: time 0.004067/1.013, allocations: 1.382 MB / 1.234 GB, free: 5.156 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches