Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 13.86 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.5509, allocations: 148.8 MB / 1.368 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5513, allocations: 79.94 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005641/0.5569, allocations: 2.039 MB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.3e-06/0.557, allocations: 0 / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.557, allocations: 7.938 kB / 1.37 GB, free: 11.14 MB / 0.8698 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.0003557/0.5574, allocations: 335.3 kB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5574, allocations: 8.031 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.5575, allocations: 7.906 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.5576, allocations: 163 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5576, allocations: 0 / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.5576, allocations: 4 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5578, allocations: 45.69 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5578, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5578, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5578, allocations: 3.984 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.5579, allocations: 12 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.5581, allocations: 157.6 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.5582, allocations: 50.56 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.5583, allocations: 89.08 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5584, allocations: 38.69 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5584, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.001262/0.5596, allocations: 484.4 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5597, allocations: 51.41 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.5598, allocations: 89 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5598, allocations: 25.7 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.5598, allocations: 84.27 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.5599, allocations: 23.7 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.5599, allocations: 0 / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.56, allocations: 318.8 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.56, allocations: 8 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.5601, allocations: 19.97 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.5601, allocations: 19.94 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5601, allocations: 0 / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.5602, allocations: 65.59 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5603, allocations: 8 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5603, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5603, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.5604, allocations: 19.92 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5604, allocations: 0 / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.5604, allocations: 8 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5604, allocations: 0 / 1.372 GB, free: 8.746 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5605, allocations: 117.7 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.5606, allocations: 7.984 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5608, allocations: 85.58 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5608, allocations: 0 / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5608, allocations: 0 / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5608, allocations: 3.984 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.561, allocations: 173.5 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.561, allocations: 0 / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.5611, allocations: 12 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.5611, allocations: 3.984 kB / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5611, allocations: 0 / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5611, allocations: 4 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5611, allocations: 4 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.5613, allocations: 121.3 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.5614, allocations: 81.06 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.5614, allocations: 0 / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.5614, allocations: 4.031 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.5615, allocations: 7.984 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.5615, allocations: 4 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.5615, allocations: 79.34 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5615, allocations: 0 / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002063/0.5617, allocations: 39.94 kB / 1.373 GB, free: 7.906 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.562, allocations: 150.9 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.5621, allocations: 39.92 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5621, allocations: 0 / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.5622, allocations: 23.98 kB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.5623, allocations: 4.094 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.5626, allocations: 144.9 kB / 1.373 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.5628, allocations: 0.6809 MB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.5629, allocations: 4.188 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.5629, allocations: 19.42 kB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5629, allocations: 0 / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of Templates: time 0.002764/0.5657, allocations: 0.7293 MB / 1.375 GB, free: 6.051 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches