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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007463/0.007463, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001886/0.001886, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 64.12 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9073, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002148/0.9095, allocations: 0.6121 MB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.91, allocations: 157.4 kB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.91, allocations: 0 / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.9101, allocations: 0 / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.537e-05/0.9101, allocations: 0 / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.9106, allocations: 51.83 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.9106, allocations: 15.98 kB / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.9107, allocations: 0 / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.9107, allocations: 7.984 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.9108, allocations: 11.94 kB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.9108, allocations: 0 / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.9109, allocations: 35.95 kB / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.911, allocations: 3.984 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.911, allocations: 7.938 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.9111, allocations: 27.95 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.9111, allocations: 0 / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.266e-06/0.9112, allocations: 4 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.9112, allocations: 3.938 kB / 1.208 GB, free: 12.62 MB / 0.9356 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.0004388/0.9116, allocations: 335.5 kB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9117, allocations: 12.02 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.9117, allocations: 34.75 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.9118, allocations: 4.844 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.9119, allocations: 162.6 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.9119, allocations: 384 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.9119, allocations: 8.375 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.9121, allocations: 50.19 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.9121, allocations: 3.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9121, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9121, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.9122, allocations: 15.98 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.9124, allocations: 157.7 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.9125, allocations: 42.62 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.9125, allocations: 24.97 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.9127, allocations: 85.05 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9127, allocations: 30.56 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.9127, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001383/0.9141, allocations: 496.3 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9141, allocations: 55.39 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.9142, allocations: 101.9 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.9142, allocations: 29.7 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.9143, allocations: 80.14 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.9143, allocations: 19.72 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.9144, allocations: 21.7 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9145, allocations: 314.8 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.9146, allocations: 11.98 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.9146, allocations: 15.94 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.9147, allocations: 41.22 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.9147, allocations: 0 / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001246/0.9148, allocations: 81.48 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9148, allocations: 4 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9148, allocations: 3.938 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9149, allocations: 4 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.9149, allocations: 8 kB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.915, allocations: 4 kB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.915, allocations: 7.938 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.915, allocations: 0 / 1.21 GB, free: 10.08 MB / 0.9356 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.025e-05/0.9151, allocations: 117.8 kB / 1.21 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.9151, allocations: 3.938 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.9153, allocations: 85.58 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9153, allocations: 0 / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9153, allocations: 0 / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9153, allocations: 0 / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.9155, allocations: 165.7 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9155, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.9156, allocations: 23.86 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9156, allocations: 7.938 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9156, allocations: 4 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9156, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9156, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.9158, allocations: 113 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.9159, allocations: 85.08 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.9159, allocations: 0 / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.9159, allocations: 8.047 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.916, allocations: 4.062 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.916, allocations: 11.94 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.916, allocations: 79.28 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.916, allocations: 0 / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002821/0.9163, allocations: 31.98 kB / 1.211 GB, free: 9.246 MB / 0.9356 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.0005895/0.9169, allocations: 0.6828 MB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.917, allocations: 35.92 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9171, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.9171, allocations: 20 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.9172, allocations: 7.609 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.9184, allocations: 1.208 MB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.9187, allocations: 0.6807 MB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.9187, allocations: 8.062 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.9187, allocations: 15.53 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.9187, allocations: 3.938 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.9426, allocations: 1.811 MB / 1.215 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/8.454, allocations: 16.2 kB / 1.215 GB, free: 4.766 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y_comp,y,ex,der(y_comp),der(y) Variables in the result:delta,der(x),der(y),der(y_comp),err,ex,time,x,y,y_comp