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.001363/0.001364, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001458/0.001459, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.07 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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.9105, 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.001758/0.9123, allocations: 0.5786 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.9136, allocations: 1.113 MB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.9136, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.9136, allocations: 1.094 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.9139, allocations: 21.34 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.65e-06/0.9139, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.914, allocations: 3.516 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.914, allocations: 5.781 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.914, allocations: 4.594 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.9141, allocations: 6.047 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-06/0.9141, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.9142, allocations: 25.02 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.9142, allocations: 1.672 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.9143, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.9144, allocations: 21.73 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9144, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9144, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9144, allocations: 0 / 1.09 GB, free: 4.277 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.0002333/0.9146, allocations: 324.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9147, allocations: 9.781 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.9147, allocations: 2.062 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.66e-05/0.9148, allocations: 161.4 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9148, allocations: 5.578 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.9148, allocations: 2.5 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.673e-05/0.9149, allocations: 39.81 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9149, allocations: 1.781 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9149, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.915, allocations: 4 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.915, allocations: 10.11 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.9151, allocations: 151.2 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.9153, allocations: 33.97 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.9153, allocations: 8.531 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.9155, allocations: 82.45 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.9155, allocations: 40.48 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9155, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.004225/0.9197, allocations: 0.5713 MB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.9198, allocations: 52.7 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.969e-05/0.9198, allocations: 90.58 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9198, allocations: 29.7 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.301e-05/0.9198, allocations: 85.61 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.9199, allocations: 19.56 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.9199, allocations: 19.42 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.92, allocations: 313.5 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.9206, allocations: 86.86 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.9212, allocations: 101.3 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9224, allocations: 194.5 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.9224, allocations: 3.938 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001224/0.9236, allocations: 217 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9237, allocations: 6.391 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9237, allocations: 0.7812 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.9237, allocations: 1.469 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.9241, allocations: 53.78 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9241, allocations: 1.797 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.9245, allocations: 40.89 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.9245, allocations: 2.391 kB / 1.093 GB, free: 2.422 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 6.803e-05/0.9246, allocations: 109.4 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.9246, allocations: 4.781 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.926, allocations: 243 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.926, allocations: 0.625 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.926, allocations: 1.547 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.926, allocations: 0.6875 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.9275, allocations: 454.6 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9275, allocations: 432 / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.9279, allocations: 54.11 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9279, allocations: 0 / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.9279, allocations: 1.438 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9279, allocations: 4.688 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9279, allocations: 1.375 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.9292, allocations: 301.3 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.9293, allocations: 82.61 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.9293, allocations: 9.359 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.9297, allocations: 40.67 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.9297, allocations: 3.109 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.9297, allocations: 6.703 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.385e-05/0.9297, allocations: 75.28 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9297, allocations: 0 / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002559/0.93, allocations: 9.25 kB / 1.094 GB, free: 1.555 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.0001701/0.9302, allocations: 116.6 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.9315, allocations: 179.6 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9315, allocations: 4.188 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.9321, allocations: 89.12 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.9324, allocations: 15.05 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.9335, allocations: 236.2 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.9337, allocations: 0.6754 MB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.9338, allocations: 12.86 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.9338, allocations: 1.156 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Templates: time 0.003235/0.937, allocations: 1.102 MB / 1.097 GB, free: 500 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