Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 69.77 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9944/0.9967, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001839/0.9986, allocations: 0.6033 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.999, allocations: 157.7 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.999, allocations: 5.062 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.999, allocations: 3.938 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.759e-05/0.999, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.9993, allocations: 42.73 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.9994, allocations: 13.11 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.9994, allocations: 2.859 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.9995, allocations: 12.61 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.9995, allocations: 12.91 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.9995, allocations: 1.25 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.9996, allocations: 32.36 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.9996, allocations: 6.781 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.9997, allocations: 10.58 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.9998, allocations: 32.59 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.9998, allocations: 0.7031 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9998, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.9998, allocations: 1.219 kB / 1.28 GB, free: 11.19 MB / 0.9981 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.0004202/1, allocations: 336.1 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1, allocations: 9.875 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/1, allocations: 1.25 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/1, allocations: 36.66 kB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/1, allocations: 6.109 kB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1, allocations: 162.8 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1, allocations: 5.5 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/1, allocations: 2.531 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/1.001, allocations: 49.94 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.001, allocations: 1.688 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.001, allocations: 3.984 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/1.001, allocations: 1.062 kB / 1.28 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/1.001, allocations: 15 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/1.001, allocations: 163.5 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.001, allocations: 41.83 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/1.001, allocations: 19.03 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.001, allocations: 81.61 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/1.001, allocations: 44.3 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/1.001, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001436/1.003, allocations: 485.4 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.003, allocations: 52.44 kB / 1.281 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/1.003, allocations: 104 kB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/1.003, allocations: 26.83 kB / 1.281 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/1.003, allocations: 80.14 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/1.003, allocations: 29.16 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/1.003, allocations: 24.98 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.003, allocations: 314.2 kB / 1.282 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/1.003, allocations: 12.62 kB / 1.282 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/1.003, allocations: 13.48 kB / 1.282 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.498e-05/1.003, allocations: 44 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.003, allocations: 0 / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/1.003, allocations: 72.58 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.003, allocations: 5.469 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.003, allocations: 0 / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.003, allocations: 1.062 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/1.003, allocations: 16.89 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/1.003, allocations: 1.062 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/1.003, allocations: 5.125 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.003, allocations: 6.906 kB / 1.282 GB, free: 9.004 MB / 0.9981 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.896e-05/1.003, allocations: 113.2 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/1.004, allocations: 10.05 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.004, allocations: 80.31 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.004, allocations: 5.781 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.004, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.004, allocations: 0.7969 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/1.004, allocations: 166.9 kB / 1.282 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.004, allocations: 4.594 kB / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/1.004, allocations: 21.36 kB / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.004, allocations: 1.188 kB / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.004, allocations: 0.6562 kB / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.004, allocations: 1.188 kB / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.004, allocations: 0 / 1.282 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/1.004, allocations: 115.2 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/1.004, allocations: 82.88 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/1.004, allocations: 1.094 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/1.004, allocations: 2.188 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/1.004, allocations: 9 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.004, allocations: 5.969 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.827e-05/1.004, allocations: 76.34 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 5.219 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002356/1.005, allocations: 33.45 kB / 1.283 GB, free: 8.332 MB / 0.9981 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.0006832/1.005, allocations: 0.6823 MB / 1.283 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001906/1.005, allocations: 35.3 kB / 1.283 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.005, allocations: 0.5312 kB / 1.283 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/1.006, allocations: 28.56 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.006, allocations: 9.391 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.007, allocations: 1.208 MB / 1.285 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.007, allocations: 0.68 MB / 1.285 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.663e-05/1.007, allocations: 10.14 kB / 1.285 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/1.007, allocations: 20.08 kB / 1.285 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.007, allocations: 0 / 1.285 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/1.03, allocations: 1.867 MB / 1.287 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/9.793, allocations: 7.641 kB / 1.287 GB, free: 5.426 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17970590898767]