Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_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_10_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.001688/0.001688, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001846/0.001846, allocations: 193.8 kB / 16.14 MB, free: 6.691 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.796/2.796, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7206, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002017/0.7226, allocations: 0.6721 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000446/0.7231, allocations: 163.5 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.7231, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.7231, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.903e-05/0.7232, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.7234, allocations: 23.92 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.7235, allocations: 15.98 kB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.7235, allocations: 7.984 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.734e-05/0.7235, allocations: 3.938 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.7236, allocations: 15.98 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.7236, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.7237, allocations: 31.97 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.7237, allocations: 3.984 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.7237, allocations: 11.94 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.329e-05/0.7238, allocations: 31.89 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7238, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7238, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.7239, allocations: 4 kB / 1.018 GB, free: 1.832 MB / 0.7637 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.0004127/0.7243, allocations: 328.7 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7243, allocations: 12.03 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.7244, allocations: 4.938 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.7245, allocations: 168.3 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7245, allocations: 384 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.7246, allocations: 4.375 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.7247, allocations: 50.23 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.7247, allocations: 192 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7247, allocations: 3.938 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7247, allocations: 3.984 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.7248, allocations: 12 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.725, allocations: 163.7 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.7251, allocations: 46.5 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.7252, allocations: 20.97 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.7253, allocations: 81.11 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7253, allocations: 30.56 kB / 1.018 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7253, allocations: 4 kB / 1.018 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001296/0.7266, allocations: 0.4922 MB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.7267, allocations: 55.34 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.7268, allocations: 93.86 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.7268, allocations: 29.7 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.7268, allocations: 80.14 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.7269, allocations: 23.69 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.727, allocations: 29.78 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7271, allocations: 310.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.7271, allocations: 15.98 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.7272, allocations: 12 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.7272, allocations: 32.84 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.7272, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001139/0.7274, allocations: 69.69 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7274, allocations: 17.69 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.7274, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.7274, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.7275, allocations: 15.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7275, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.7275, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.7276, allocations: 0 / 1.02 GB, free: 15.34 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 (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 8.106e-05/0.7276, allocations: 113.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.7277, allocations: 7.844 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.7278, allocations: 97.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7279, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7279, allocations: 256 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7279, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.728, allocations: 169.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.728, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.7281, allocations: 12 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7281, allocations: 3.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7282, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7282, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7282, allocations: 3.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.7284, allocations: 113 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.7284, allocations: 85.05 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.7285, allocations: 4.031 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.7285, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.7285, allocations: 4 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.7285, allocations: 3.984 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.7286, allocations: 83.34 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7286, allocations: 4.094 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002369/0.7288, allocations: 24 kB / 1.02 GB, free: 14.52 MB / 0.7794 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.0002422/0.7291, allocations: 137.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.7292, allocations: 36.39 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7292, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.7293, allocations: 20.14 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.7294, allocations: 11.94 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.7298, allocations: 155.3 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.7301, allocations: 0.6809 MB / 1.021 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.7301, allocations: 7.984 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.7302, allocations: 11.44 kB / 1.021 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7302, allocations: 3.938 kB / 1.021 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.003591/0.7338, allocations: 0.8544 MB / 1.022 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches