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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001324/0.001324, allocations: 106.9 kB / 16.41 MB, free: 6.484 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.001287/0.001287, allocations: 189.6 kB / 17.35 MB, free: 5.75 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.84 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9263, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002192/0.9285, allocations: 0.5875 MB / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.9301, allocations: 1.104 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.9301, allocations: 7.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.9302, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.9306, allocations: 23.86 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.602e-06/0.9306, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.9307, allocations: 4 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.9308, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.9309, allocations: 11.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.9309, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.9309, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.9311, allocations: 19.97 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.9311, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.9312, allocations: 3.938 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.9313, allocations: 19.91 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9313, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9313, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.9314, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 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.0004787/0.9318, allocations: 315.6 kB / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.9319, allocations: 12.03 kB / 1.211 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.932, allocations: 0.9375 kB / 1.211 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.9322, allocations: 168.4 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.9322, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.9322, allocations: 384 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.9324, allocations: 38.02 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.9324, allocations: 7.969 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.9324, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9325, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.9325, allocations: 7.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.9327, allocations: 157.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.933, allocations: 30.58 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.933, allocations: 12.94 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.9332, allocations: 81.11 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.9332, allocations: 34.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.587e-06/0.9332, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.004339/0.9376, allocations: 0.5694 MB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.9376, allocations: 55.41 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.9377, allocations: 89.86 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.9377, allocations: 25.7 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.9378, allocations: 84.08 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.9378, allocations: 19.73 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.9379, allocations: 25.72 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.938, allocations: 314.8 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.9386, allocations: 83.89 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.9392, allocations: 102.5 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9404, allocations: 194.4 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9404, allocations: 0 / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001252/0.9417, allocations: 209.6 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.9417, allocations: 11.94 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9417, allocations: 4.062 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9418, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.9422, allocations: 51.97 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.9422, allocations: 0 / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.9426, allocations: 39.98 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.9426, allocations: 4 kB / 1.213 GB, free: 8.98 MB / 0.9356 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.0001009/0.9427, allocations: 113.8 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.9427, allocations: 7.844 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.9441, allocations: 237.3 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9442, allocations: 12 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9442, allocations: 0 / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.9442, allocations: 77.11 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.9442, allocations: 0 / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.9446, allocations: 43.97 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.9446, allocations: 0 / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00155/0.9462, allocations: 324.8 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001278/0.9475, allocations: 390.5 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006244/0.9481, allocations: 87.95 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.9481, allocations: 75.28 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of Backend: time 6.71e-07/0.9482, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.9498, allocations: 174.8 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006046/0.9504, allocations: 0.5526 MB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.004495/0.9549, allocations: 1.376 MB / 1.216 GB, free: 5.43 MB / 0.9356 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