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.001963/0.001963, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002469/0.002469, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.91/2.91, allocations: 476.8 MB / 0.7715 GB, free: 3.844 MB / 0.6231 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.00207/0.00207, allocations: 64.83 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 170 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001896/0.3999, allocations: 0.5934 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.4004, allocations: 151.6 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.4004, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.4004, allocations: 8 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.4005, allocations: 0 / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.4008, allocations: 38.16 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.4009, allocations: 19.91 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.4009, allocations: 0 / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.4009, allocations: 11.94 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.401, allocations: 7.984 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.401, allocations: 0 / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.4011, allocations: 31.97 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.4011, allocations: 7.984 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.4012, allocations: 11.94 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.4013, allocations: 31.45 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4013, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4013, allocations: 3.938 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4013, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 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.0004228/0.4017, allocations: 251.8 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4017, allocations: 12.03 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.4018, allocations: 192 / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.4018, allocations: 42.67 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.4018, allocations: 8.891 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.4019, allocations: 106.5 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4019, allocations: 8.375 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.402, allocations: 384 / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4021, allocations: 83.62 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4021, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4021, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.4022, allocations: 4 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.4022, allocations: 8 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.4024, allocations: 128.8 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4025, allocations: 42.62 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.4025, allocations: 28.91 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.4026, allocations: 4 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4026, allocations: 34.5 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4026, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001323/0.404, allocations: 407.4 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.404, allocations: 51.41 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.4041, allocations: 93.84 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4041, allocations: 33.7 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.4041, allocations: 80.14 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.4042, allocations: 27.73 kB / 1.286 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.4042, allocations: 29.83 kB / 1.286 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4043, allocations: 310.8 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.4044, allocations: 16 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.4044, allocations: 19.92 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.503e-05/0.4045, allocations: 29.09 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4045, allocations: 0 / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.4046, allocations: 81.55 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4046, allocations: 7.984 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4046, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4046, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.4047, allocations: 12 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4047, allocations: 7.938 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.4048, allocations: 4 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4048, allocations: 4 kB / 1.287 GB, free: 7.438 MB / 0.9825 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.584e-05/0.4048, allocations: 109.8 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.4049, allocations: 7.922 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.4051, allocations: 89.52 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4051, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4051, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4051, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.4052, allocations: 136.8 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4052, allocations: 3.938 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.4053, allocations: 15.94 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4053, allocations: 0 / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4053, allocations: 4 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4053, allocations: 3.938 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4053, allocations: 0 / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.4055, allocations: 113.1 kB / 1.287 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.4055, allocations: 11.95 kB / 1.287 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4055, allocations: 0 / 1.287 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.4056, allocations: 4.062 kB / 1.287 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.4056, allocations: 15.91 kB / 1.287 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.4056, allocations: 4 kB / 1.287 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.4057, allocations: 79.28 kB / 1.287 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4057, allocations: 0 / 1.287 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002245/0.4059, allocations: 27.94 kB / 1.288 GB, free: 6.746 MB / 0.9825 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.0006384/0.4065, allocations: 0.6787 MB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.4067, allocations: 35.92 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4067, allocations: 4 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.4067, allocations: 24.14 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.4068, allocations: 11.94 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4081, allocations: 1.196 MB / 1.289 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.4082, allocations: 67.34 kB / 1.289 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.699e-05/0.4082, allocations: 7.938 kB / 1.289 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.4083, allocations: 19.42 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.4083, allocations: 4.062 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.4327, allocations: 1.973 MB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.85, allocations: 17.06 kB / 1.291 GB, free: 2.746 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.96634452708531]