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.226/2.226, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001074/0.001074, allocations: 176.9 kB / 492.3 MB, free: 0.6445 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.591/1.591, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009221/0.0009221, allocations: 95.14 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.291e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3316, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.381, allocations: 148.7 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/1.381, allocations: 71.78 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005572/1.387, allocations: 2.045 MB / 1.36 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/1.387, allocations: 4.438 kB / 1.36 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.387, allocations: 0 / 1.36 GB, free: 34.69 MB / 0.8386 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.0002581/1.387, allocations: 328.2 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.387, allocations: 11.5 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/1.387, allocations: 0.625 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/1.387, allocations: 167.9 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.387, allocations: 8.516 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/1.387, allocations: 0 / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.387, allocations: 43.42 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/1.387, allocations: 0 / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.387, allocations: 8.281 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.387, allocations: 3.406 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/1.388, allocations: 9.891 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/1.388, allocations: 171.4 kB / 1.36 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/1.388, allocations: 42.62 kB / 1.36 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/1.388, allocations: 27.52 kB / 1.36 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/1.388, allocations: 78.56 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.388, allocations: 38.41 kB / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/1.388, allocations: 0 / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.001087/1.389, allocations: 467.8 kB / 1.361 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/1.389, allocations: 51.41 kB / 1.361 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/1.389, allocations: 89.56 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/1.389, allocations: 32.64 kB / 1.361 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/1.389, allocations: 84.78 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.389, allocations: 24.77 kB / 1.361 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.389, allocations: 0 / 1.361 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/1.389, allocations: 319.6 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/1.389, allocations: 11.91 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/1.389, allocations: 11.28 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/1.389, allocations: 17.55 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.389, allocations: 0 / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.99e-05/1.389, allocations: 63.83 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.39, allocations: 5.312 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/1.39, allocations: 4.797 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.39, allocations: 3.812 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/1.39, allocations: 9.734 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/1.39, allocations: 4.094 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/1.39, allocations: 0.6562 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.39, allocations: 2.625 kB / 1.362 GB, free: 32.71 MB / 0.8386 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 () * 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 5.473e-05/1.39, allocations: 116 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/1.39, allocations: 4.609 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/1.39, allocations: 91.44 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.39, allocations: 7.656 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.39, allocations: 0 / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.39, allocations: 0 / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.847e-05/1.39, allocations: 163.1 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.39, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/1.39, allocations: 12.94 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.39, allocations: 0 / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/1.39, allocations: 6.688 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.39, allocations: 5.203 kB / 1.362 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.39, allocations: 11.98 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.39, allocations: 109.4 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/1.39, allocations: 86.66 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/1.39, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/1.39, allocations: 7.812 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/1.39, allocations: 6.5 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.39, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.685e-05/1.39, allocations: 79.34 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.39, allocations: 0 / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001984/1.391, allocations: 43.78 kB / 1.362 GB, free: 32.09 MB / 0.8386 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 () * 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.0001966/1.391, allocations: 144.2 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.302e-05/1.391, allocations: 45.44 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.391, allocations: 0 / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/1.391, allocations: 22.94 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.78e-05/1.391, allocations: 1.734 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/1.391, allocations: 105.3 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.392, allocations: 0.6859 MB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.386e-05/1.392, allocations: 4.094 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/1.392, allocations: 12.98 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.392, allocations: 0 / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.002681/1.394, allocations: 0.7254 MB / 1.364 GB, free: 31.12 MB / 0.8386 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