Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00755/0.00755, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001652/0.001652, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 67.91 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3155, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001627/0.3171, allocations: 0.6031 MB / 1.208 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.3175, allocations: 159.5 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.3176, allocations: 0 / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.3176, allocations: 3.938 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 1.964e-05/0.3176, allocations: 0 / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3179, allocations: 42.02 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.318, allocations: 11.98 kB / 1.209 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.318, allocations: 4 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.3181, allocations: 15.92 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.3182, allocations: 7.984 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3182, allocations: 4 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.3183, allocations: 27.97 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.3183, allocations: 4 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.3183, allocations: 15.91 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3184, allocations: 31.91 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3184, allocations: 0 / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3185, allocations: 3.938 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3185, allocations: 0 / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003984/0.3189, allocations: 327.6 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3189, allocations: 12.62 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.319, allocations: 4.844 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3191, allocations: 164.4 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3191, allocations: 8.312 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.3192, allocations: 4.375 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3193, allocations: 42.25 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3194, allocations: 192 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3194, allocations: 3.938 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3194, allocations: 8 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.3195, allocations: 19.92 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.3197, allocations: 161.6 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.3198, allocations: 42.62 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.3198, allocations: 16.98 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.3199, allocations: 85.09 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.32, allocations: 34.56 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.32, allocations: 0 / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001278/0.3212, allocations: 492 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3213, allocations: 55.41 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.3214, allocations: 89.86 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3214, allocations: 29.7 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.3214, allocations: 84.12 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3215, allocations: 27.78 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3215, allocations: 21.7 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3216, allocations: 314.8 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.3217, allocations: 15.94 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.3217, allocations: 15.97 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/0.3218, allocations: 41.08 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3218, allocations: 0 / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001156/0.3219, allocations: 73.52 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3219, allocations: 11.94 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3219, allocations: 4 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.322, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.322, allocations: 15.98 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3221, allocations: 0 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.3221, allocations: 4 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3221, allocations: 4.438 kB / 1.211 GB, free: 6.176 MB / 0.9669 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 (8): * Single equations (assignments): 8 * 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 7.42e-05/0.3222, allocations: 105.8 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.3222, allocations: 7.938 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.3224, allocations: 89.56 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3224, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3224, allocations: 4 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3224, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3225, allocations: 165.7 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3225, allocations: 0 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.3226, allocations: 11.98 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3226, allocations: 7.938 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3227, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3227, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3227, allocations: 4 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.3229, allocations: 120.9 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.323, allocations: 85.08 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.323, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.323, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.323, allocations: 7.984 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3231, allocations: 8 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.3231, allocations: 79.34 kB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3231, allocations: 0 / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002223/0.3233, allocations: 24 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001999/0.3235, allocations: 139.2 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3237, allocations: 39.92 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3237, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.3237, allocations: 23.98 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3239, allocations: 2.438 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3242, allocations: 163.5 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.3244, allocations: 0.6807 MB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.3244, allocations: 8.484 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3245, allocations: 11.44 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3245, allocations: 0 / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.00316/0.3276, allocations: 0.8869 MB / 1.213 GB, free: 3.363 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches