Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.000987, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001264/0.001264, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 10.16 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3677, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001654/0.3694, allocations: 1.144 MB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.3698, allocations: 187.5 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.3699, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.3699, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.37, allocations: 3.938 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.3702, allocations: 27.97 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.3703, allocations: 19.94 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3703, allocations: 15.97 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.3704, allocations: 11.92 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.3704, allocations: 7.984 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3705, allocations: 4 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.3705, allocations: 27.97 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.3706, allocations: 4 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.3706, allocations: 29.64 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.641e-05/0.3707, allocations: 27.94 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3707, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3707, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3707, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 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.0004945/0.3712, allocations: 351.5 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3713, allocations: 8.031 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3713, allocations: 3.906 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3715, allocations: 167.1 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3715, allocations: 4 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3715, allocations: 7.891 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3717, allocations: 57.67 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3717, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3717, allocations: 7.938 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3717, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.3719, allocations: 47.91 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.3722, allocations: 248.9 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3723, allocations: 38.56 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.3724, allocations: 32.91 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.891e-05/0.3725, allocations: 85.09 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3726, allocations: 30.56 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.228e-06/0.3726, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000343/0.3729, allocations: 105.6 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.373, allocations: 51.41 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.3731, allocations: 97.86 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3731, allocations: 25.7 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3731, allocations: 92.25 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3732, allocations: 7.906 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.3732, allocations: 0 / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3733, allocations: 310.8 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3734, allocations: 19.98 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3735, allocations: 27.97 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.3736, allocations: 27.94 kB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3736, allocations: 0 / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.3737, allocations: 77.67 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3738, allocations: 4 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3738, allocations: 7.984 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3738, allocations: 0 / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.3739, allocations: 8 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3739, allocations: 0 / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.374, allocations: 15.92 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.374, allocations: 4 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.374, allocations: 109.8 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3741, allocations: 0 / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.3743, allocations: 92.7 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3743, allocations: 7.984 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3743, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3743, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.3745, allocations: 161.5 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3745, allocations: 4.203 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.3746, allocations: 15.98 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3746, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3746, allocations: 7.938 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3746, allocations: 4.031 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3746, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3748, allocations: 167.5 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.3749, allocations: 89 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3749, allocations: 7.938 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.375, allocations: 11.97 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.375, allocations: 8 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.375, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.3751, allocations: 83.27 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3751, allocations: 0 / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002276/0.3753, allocations: 8 kB / 1.062 GB, free: 0.7969 MB / 0.8106 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.3755, allocations: 111.2 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3757, allocations: 47.95 kB / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3757, allocations: 0 / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.3758, allocations: 28.05 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3761, allocations: 6.938 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.3763, allocations: 112.6 kB / 1.062 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3766, allocations: 0.677 MB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.3766, allocations: 4.062 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.3766, allocations: 11.44 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3766, allocations: 3.938 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of Templates: time 0.002587/0.3792, allocations: 498.2 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches