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.001614/0.001614, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.001667/0.001668, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.572/1.572, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.463/2.463, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.058, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001676/1.06, allocations: 0.586 MB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001326/1.061, allocations: 1.114 MB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/1.061, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/1.061, allocations: 3.938 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/1.062, allocations: 21.41 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/1.062, allocations: 1.094 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/1.062, allocations: 6.766 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/1.062, allocations: 1.641 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/1.062, allocations: 1.188 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/1.062, allocations: 9.484 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/1.062, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/1.062, allocations: 21.31 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/1.062, allocations: 1.031 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/1.062, allocations: 1.062 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/1.062, allocations: 21.19 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.062, allocations: 4 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.062, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.062, allocations: 1.094 kB / 1.09 GB, free: 4.301 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.0002122/1.062, allocations: 314.8 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.062, allocations: 9.188 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/1.062, allocations: 2 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.962e-05/1.062, allocations: 169.5 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.062, allocations: 2.109 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/1.062, allocations: 1.375 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/1.062, allocations: 40.83 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.062, allocations: 0.5625 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/1.062, allocations: 1.219 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/1.062, allocations: 0 / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/1.063, allocations: 10.28 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/1.063, allocations: 150.2 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/1.063, allocations: 37.81 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/1.063, allocations: 17.56 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/1.063, allocations: 81.88 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/1.063, allocations: 36.38 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/1.063, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.00446/1.067, allocations: 0.5766 MB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/1.067, allocations: 51.41 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/1.067, allocations: 95.47 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/1.068, allocations: 25.7 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-06/1.068, allocations: 81.02 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/1.068, allocations: 14.44 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/1.068, allocations: 16.97 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/1.068, allocations: 316.8 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/1.068, allocations: 82.84 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/1.069, allocations: 105.8 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.07, allocations: 189.9 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.07, allocations: 4.594 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001306/1.072, allocations: 216.8 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.072, allocations: 10.23 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.072, allocations: 0.8125 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.072, allocations: 1.844 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/1.072, allocations: 49.7 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/1.072, allocations: 4.906 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/1.072, allocations: 40.77 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.072, allocations: 3.281 kB / 1.093 GB, free: 2.449 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.77e-05/1.073, allocations: 112.7 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/1.073, allocations: 5.562 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/1.074, allocations: 235.4 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.074, allocations: 0 / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.074, allocations: 0.5938 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/1.074, allocations: 82.53 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/1.074, allocations: 1.438 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/1.074, allocations: 44.27 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/1.075, allocations: 3.141 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001623/1.076, allocations: 330.2 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001298/1.077, allocations: 380.5 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006486/1.078, allocations: 90.78 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.362e-05/1.078, allocations: 80.06 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of Backend: time 4.4e-07/1.078, allocations: 0 / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.079, allocations: 181.1 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000262/1.079, allocations: 0.5392 MB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Templates: time 0.003939/1.083, allocations: 1.374 MB / 1.096 GB, free: 0.9258 MB / 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