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.001232/0.001233, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01255/0.01255, allocations: 170 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 443.3 MB / 0.7175 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003572, allocations: 12.47 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 155.2 MB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00176/0.316, allocations: 1.171 MB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004525/0.3165, allocations: 188.8 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.3165, allocations: 0 / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.3165, allocations: 0 / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.3166, allocations: 4 kB / 1.032 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3169, allocations: 35.91 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.067e-05/0.3169, allocations: 23.86 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.317, allocations: 11.98 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.3171, allocations: 7.938 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.3171, allocations: 11.92 kB / 1.033 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3171, allocations: 4 kB / 1.033 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.3172, allocations: 27.97 kB / 1.033 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3173, allocations: 4 kB / 1.033 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.3173, allocations: 33.62 kB / 1.033 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3175, allocations: 39.94 kB / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3175, allocations: 3.938 kB / 1.033 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3175, allocations: 0 / 1.033 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3175, allocations: 0 / 1.033 GB, free: 2.879 MB / 0.7794 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.0004603/0.3179, allocations: 356.9 kB / 1.033 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.318, allocations: 8.031 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.318, allocations: 0.9375 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3182, allocations: 176.3 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3182, allocations: 384 / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3182, allocations: 4.359 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3184, allocations: 54.23 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3184, allocations: 4.125 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3184, allocations: 3.938 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3185, allocations: 4 kB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3187, allocations: 43.97 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.319, allocations: 253 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3192, allocations: 42.5 kB / 1.034 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.3193, allocations: 28.91 kB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.986e-05/0.3194, allocations: 85.09 kB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3194, allocations: 34.5 kB / 1.034 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.3195, allocations: 4 kB / 1.034 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000375/0.3198, allocations: 93.64 kB / 1.034 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3199, allocations: 59.53 kB / 1.034 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.32, allocations: 97.86 kB / 1.034 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.32, allocations: 25.7 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.3201, allocations: 92.12 kB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3201, allocations: 3.906 kB / 1.034 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.3201, allocations: 9.719 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3202, allocations: 310.8 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.3203, allocations: 27.98 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.3204, allocations: 23.91 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3206, allocations: 56.89 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3206, allocations: 0 / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002125/0.3208, allocations: 81.5 kB / 1.035 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3208, allocations: 9.656 kB / 1.035 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3209, allocations: 7.969 kB / 1.035 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3209, allocations: 0 / 1.035 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.321, allocations: 15.98 kB / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.321, allocations: 0 / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.321, allocations: 7.938 kB / 1.035 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3211, allocations: 0 / 1.035 GB, free: 0.6523 MB / 0.7794 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 8.481e-05/0.3211, allocations: 127.2 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3212, allocations: 7.984 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3214, allocations: 76.78 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3214, allocations: 0 / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3214, allocations: 4 kB / 1.035 GB, free: 432 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3215, allocations: 4.031 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3216, allocations: 161.6 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3216, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.3217, allocations: 11.98 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3217, allocations: 0 / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3217, allocations: 4 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3217, allocations: 0 / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3217, allocations: 4 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.322, allocations: 175.4 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.3221, allocations: 81.02 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3221, allocations: 7.984 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.3222, allocations: 12.03 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3222, allocations: 3.984 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3222, allocations: 4.25 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.3223, allocations: 83.28 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3223, allocations: 0 / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002292/0.3225, allocations: 8 kB / 1.035 GB, free: 15.79 MB / 0.795 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.00016/0.3227, allocations: 115.2 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3229, allocations: 43.97 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3229, allocations: 0 / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.323, allocations: 27.92 kB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3233, allocations: 12.06 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.3236, allocations: 112.6 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3238, allocations: 0.677 MB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3239, allocations: 0 / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3239, allocations: 11.44 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3239, allocations: 0 / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of Templates: time 0.002691/0.3266, allocations: 0.5067 MB / 1.037 GB, free: 14.23 MB / 0.795 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