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.001735/0.001741, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001883/0.001883, allocations: 195.2 kB / 16.14 MB, free: 6.637 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.575/1.575, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.796/2.796, allocations: 437 MB / 0.71 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 75.88 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.65, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002103/0.6521, allocations: 0.6488 MB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.6539, allocations: 1.108 MB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.6539, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.654, allocations: 0 / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.6542, allocations: 12 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-06/0.6543, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.6543, allocations: 3.938 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.6544, allocations: 7.984 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.6544, allocations: 0 / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.6545, allocations: 3.984 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.6545, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.6546, allocations: 27.92 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.6547, allocations: 3.938 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.6547, allocations: 4 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.6548, allocations: 15.97 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6548, allocations: 3.938 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6548, allocations: 0 / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6548, allocations: 0 / 1.018 GB, free: 0.918 MB / 0.7637 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.0003959/0.6552, allocations: 315.6 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6553, allocations: 12.03 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.6553, allocations: 4.938 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.6555, allocations: 160.4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6555, allocations: 384 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.6555, allocations: 4.375 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6556, allocations: 42 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6557, allocations: 7.875 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6557, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6557, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.6557, allocations: 4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.656, allocations: 157.7 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.6562, allocations: 34.61 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.6562, allocations: 4.859 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.6564, allocations: 85.19 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.6565, allocations: 38.44 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.6565, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004412/0.6609, allocations: 0.5698 MB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.661, allocations: 55.41 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.661, allocations: 89.86 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.6611, allocations: 29.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.6611, allocations: 80.14 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.6611, allocations: 15.75 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.6612, allocations: 21.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6614, allocations: 310.8 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.662, allocations: 87.95 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.6626, allocations: 98.53 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6638, allocations: 190.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6638, allocations: 8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001237/0.665, allocations: 213.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6651, allocations: 9.562 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6651, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6651, allocations: 3.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.6655, allocations: 52 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.6655, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.6658, allocations: 47.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.6659, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 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.387e-05/0.666, allocations: 109.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.666, allocations: 3.938 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.6674, allocations: 245 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6674, allocations: 4 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6674, allocations: 0 / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.6674, allocations: 0 / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.669, allocations: 462.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.669, allocations: 7.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.6694, allocations: 39.98 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6694, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6694, allocations: 7.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6694, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6694, allocations: 3.984 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.6707, allocations: 299.4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.6708, allocations: 81.11 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.6708, allocations: 8.125 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.6713, allocations: 39.98 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.6713, allocations: 7.984 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6713, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.6713, allocations: 75.28 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6713, allocations: 0 / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003477/0.6717, allocations: 16 kB / 1.022 GB, free: 12.46 MB / 0.7794 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.0002022/0.6719, allocations: 107.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6732, allocations: 187.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6732, allocations: 4.188 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.6738, allocations: 83.95 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.674, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.6751, allocations: 218.6 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6754, allocations: 0.6809 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.6757, allocations: 28 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.6758, allocations: 11.44 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6758, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.003227/0.679, allocations: 0.8036 MB / 1.025 GB, free: 10.28 MB / 0.7794 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/jenkins/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