Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.002089/0.00209, allocations: 105 kB / 16.41 MB, free: 5.973 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.00241/0.002411, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.14 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.411/2.411, allocations: 390.3 MB / 0.6655 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002338/1.034, allocations: 1.435 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/1.034, allocations: 200.6 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/1.034, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/1.035, allocations: 4.5 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/1.035, allocations: 9.109 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/1.035, allocations: 37 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.182e-05/1.035, allocations: 25.28 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/1.035, allocations: 8.453 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/1.035, allocations: 5.234 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/1.035, allocations: 18.12 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/1.035, allocations: 2.156 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/1.035, allocations: 33.62 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/1.035, allocations: 4.891 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/1.035, allocations: 8.516 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/1.035, allocations: 43.55 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.035, allocations: 0.6562 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.183e-06/1.035, allocations: 4 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.358e-06/1.035, allocations: 1.281 kB / 1.09 GB, free: 4.32 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.0003566/1.036, allocations: 346.2 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.036, allocations: 9.219 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/1.036, allocations: 3.797 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/1.036, allocations: 166.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/1.036, allocations: 1.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.036, allocations: 1.594 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/1.036, allocations: 54.22 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/1.036, allocations: 192 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/1.036, allocations: 3.938 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.036, allocations: 1.219 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/1.036, allocations: 36.39 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/1.037, allocations: 247.8 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/1.037, allocations: 48.33 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/1.037, allocations: 24.48 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/1.037, allocations: 80.67 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/1.037, allocations: 32.17 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.037, allocations: 0 / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003321/1.037, allocations: 93.06 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/1.037, allocations: 51.41 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/1.037, allocations: 107.5 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/1.037, allocations: 25.7 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/1.037, allocations: 85.78 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/1.037, allocations: 5.828 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/1.037, allocations: 13.05 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/1.037, allocations: 317.1 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/1.038, allocations: 22.05 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/1.038, allocations: 18.67 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/1.038, allocations: 37.78 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.038, allocations: 4.062 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/1.038, allocations: 71.89 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.038, allocations: 5.375 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.038, allocations: 0 / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.038, allocations: 1.766 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/1.038, allocations: 8.047 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/1.038, allocations: 1.406 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/1.038, allocations: 5.984 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/1.038, allocations: 5.094 kB / 1.092 GB, free: 2.504 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/1.038, allocations: 115.5 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.038, allocations: 1.906 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/1.038, allocations: 74.44 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.038, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.038, allocations: 0.75 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.038, allocations: 5.656 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/1.039, allocations: 164 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.039, allocations: 0.6094 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/1.039, allocations: 13.2 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.039, allocations: 0 / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/1.039, allocations: 5.094 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.039, allocations: 0.6562 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.039, allocations: 0 / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/1.039, allocations: 163.9 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/1.039, allocations: 78.19 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/1.039, allocations: 1.844 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/1.039, allocations: 8.938 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/1.039, allocations: 3.844 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/1.039, allocations: 0.6094 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.184e-05/1.039, allocations: 89.33 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.039, allocations: 4.031 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002206/1.039, allocations: 9.906 kB / 1.093 GB, free: 1.805 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 (2): * Single equations (assignments): 2 * 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.0001319/1.039, allocations: 111.1 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.04, allocations: 36.95 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.04, allocations: 0 / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/1.04, allocations: 20.78 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.04, allocations: 10 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/1.04, allocations: 143.3 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/1.04, allocations: 0.6801 MB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/1.04, allocations: 9.156 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/1.04, allocations: 0 / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of Templates: time 0.002073/1.042, allocations: 0.6632 MB / 1.095 GB, free: 0.793 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches