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.001615/0.001615, 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.002004/0.002004, allocations: 194 kB / 16.14 MB, free: 6.652 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.554/2.554, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 75.88 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7623, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00193/0.7643, allocations: 0.6838 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004131/0.7647, allocations: 159.5 kB / 1.017 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.7647, allocations: 3.938 kB / 1.017 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.7647, allocations: 0 / 1.017 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.737e-05/0.7648, allocations: 0 / 1.017 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.765, allocations: 35.95 kB / 1.017 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.7651, allocations: 8 kB / 1.017 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.7651, allocations: 4 kB / 1.017 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.7652, allocations: 7.922 kB / 1.017 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.7652, allocations: 11.98 kB / 1.017 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.7652, allocations: 0 / 1.017 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.7653, allocations: 35.95 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.7654, allocations: 7.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.7654, allocations: 7.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.532e-05/0.7655, allocations: 31.89 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7655, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7655, allocations: 8 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7655, allocations: 0 / 1.018 GB, free: 1.742 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.0003678/0.7659, allocations: 335.4 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7659, allocations: 12.03 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.766, allocations: 0.9375 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.7661, allocations: 160.4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.7661, allocations: 384 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.7661, allocations: 8.375 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.7662, allocations: 46.25 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.7662, allocations: 192 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.7663, allocations: 3.938 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.7663, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.7663, allocations: 19.92 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.7665, allocations: 159.6 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.7666, allocations: 42.62 kB / 1.018 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.7666, allocations: 20.97 kB / 1.018 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.7667, allocations: 85.11 kB / 1.018 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.7667, allocations: 30.56 kB / 1.018 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7668, allocations: 0 / 1.018 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001258/0.768, allocations: 0.4924 MB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.7681, allocations: 51.41 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.7681, allocations: 97.84 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.7682, allocations: 33.83 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.7682, allocations: 80.14 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.7682, allocations: 19.72 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.7683, allocations: 21.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.7684, allocations: 310.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.7684, allocations: 15.98 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.7684, allocations: 15.94 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.343e-05/0.7685, allocations: 32.86 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7685, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.7686, allocations: 77.59 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.7687, allocations: 9.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7687, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7687, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.7688, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7688, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.7688, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.7688, allocations: 4 kB / 1.02 GB, free: 15.26 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.038e-05/0.7689, allocations: 118.4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.7689, allocations: 7.844 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.7691, allocations: 89.83 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7691, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7691, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7691, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.7693, allocations: 169.6 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7693, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.7693, allocations: 15.98 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7694, allocations: 7.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.7694, allocations: 7.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7694, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7694, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.7696, allocations: 117.1 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.7696, allocations: 81.05 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.7696, allocations: 4.031 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.7697, allocations: 3.984 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.7697, allocations: 8.125 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.7697, allocations: 4 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.7698, allocations: 83.28 kB / 1.02 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7698, allocations: 0 / 1.02 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000216/0.77, allocations: 27.98 kB / 1.02 GB, free: 14.43 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.0002094/0.7702, allocations: 131.2 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.7703, allocations: 47.91 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7703, allocations: 4.094 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.7704, allocations: 19.94 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.7705, allocations: 5.719 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.7708, allocations: 147.1 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.7711, allocations: 0.6809 MB / 1.021 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.7711, allocations: 8 kB / 1.021 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.7711, allocations: 19.42 kB / 1.021 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7711, allocations: 0 / 1.021 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of Templates: time 0.002925/0.7741, allocations: 0.8473 MB / 1.022 GB, free: 12.47 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=480 -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