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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_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.008034/0.008034, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001823/0.001824, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8037, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001501/0.8053, allocations: 0.5968 MB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.8056, allocations: 161.4 kB / 1.088 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.8057, allocations: 4 kB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.8057, allocations: 3.938 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.767e-05/0.8057, allocations: 0 / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.806, allocations: 39.77 kB / 1.088 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.806, allocations: 16.98 kB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.8061, allocations: 3.469 kB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.8061, allocations: 6.953 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.8062, allocations: 9.172 kB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.8062, allocations: 1.125 kB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.8063, allocations: 32.89 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.8063, allocations: 13.64 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.8063, allocations: 7.656 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.484e-05/0.8064, allocations: 31.16 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8064, allocations: 0 / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8064, allocations: 0 / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.8064, allocations: 1.25 kB / 1.088 GB, free: 4.715 MB / 0.8575 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.0002829/0.8067, allocations: 326.3 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8068, allocations: 13.78 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.8068, allocations: 36.77 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.8068, allocations: 3.203 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.8069, allocations: 167.2 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.8069, allocations: 3.031 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.8069, allocations: 1.906 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/0.807, allocations: 42.16 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.807, allocations: 3.938 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.807, allocations: 5.125 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.807, allocations: 5.844 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.8071, allocations: 19.33 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.8072, allocations: 166.2 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.8073, allocations: 47.78 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.8073, allocations: 19.69 kB / 1.089 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.8074, allocations: 80.91 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.8074, allocations: 31.72 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.8074, allocations: 0 / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001082/0.8085, allocations: 494.2 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.8086, allocations: 56.52 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.8086, allocations: 96.3 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.8086, allocations: 26.67 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-06/0.8086, allocations: 80.14 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.8087, allocations: 21.3 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.8087, allocations: 21.98 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.8087, allocations: 321.5 kB / 1.09 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.8088, allocations: 12.17 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.8088, allocations: 8.719 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.8088, allocations: 36.66 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.8089, allocations: 0 / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.523e-05/0.809, allocations: 75.48 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.809, allocations: 5.438 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.809, allocations: 448 / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.809, allocations: 1.688 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.8091, allocations: 12.64 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8091, allocations: 4.75 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.8091, allocations: 5.469 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.8091, allocations: 2.188 kB / 1.091 GB, free: 2.547 MB / 0.8575 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 4.687e-05/0.8092, allocations: 112.6 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.8092, allocations: 14.62 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.8093, allocations: 96.94 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8094, allocations: 1.312 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8094, allocations: 4 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.8094, allocations: 0.6562 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.929e-05/0.8095, allocations: 162.8 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8095, allocations: 1.062 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/0.8096, allocations: 17.02 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8096, allocations: 0.6094 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8096, allocations: 5.375 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8096, allocations: 1.422 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8096, allocations: 0 / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.8097, allocations: 118.3 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.8098, allocations: 86.66 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.8098, allocations: 5.516 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.8098, allocations: 2.609 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.8099, allocations: 5.156 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.8099, allocations: 6.875 kB / 1.091 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.8099, allocations: 76.31 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8099, allocations: 0 / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002153/0.8101, allocations: 34.02 kB / 1.091 GB, free: 1.859 MB / 0.8575 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.0004433/0.8106, allocations: 0.6822 MB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.8107, allocations: 38.09 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8107, allocations: 0 / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.8107, allocations: 25.44 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.8109, allocations: 10.47 kB / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.8118, allocations: 1.191 MB / 1.093 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.812, allocations: 0.6805 MB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.812, allocations: 9.266 kB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.8121, allocations: 16.61 kB / 1.094 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8121, allocations: 0 / 1.094 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.8301, allocations: 1.81 MB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.268/10.1, allocations: 14.83 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches