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.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.001331/0.001331, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001415/0.001415, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_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.001992/0.001992, allocations: 70 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002425/0.4142, allocations: 0.5914 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000659/0.4149, allocations: 155.9 kB / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.4149, allocations: 0 / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.415, allocations: 0 / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.479e-05/0.415, allocations: 3.938 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.4155, allocations: 35.91 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.206e-05/0.4156, allocations: 15.98 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.723e-05/0.4156, allocations: 3.984 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.4157, allocations: 4 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.4158, allocations: 19.92 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.4158, allocations: 0 / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4159, allocations: 35.97 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.4159, allocations: 3.984 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.416, allocations: 11.94 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4161, allocations: 32.16 kB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4161, allocations: 0 / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4161, allocations: 0 / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.4161, allocations: 0 / 1.346 GB, free: 14.98 MB / 1.045 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.00051/0.4166, allocations: 258.3 kB / 1.346 GB, free: 14.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4167, allocations: 19.97 kB / 1.346 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.328e-05/0.4167, allocations: 4.125 kB / 1.346 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.4168, allocations: 30.75 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.4168, allocations: 4.938 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4169, allocations: 106.5 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4169, allocations: 4.359 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.417, allocations: 4.375 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4171, allocations: 71.7 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4172, allocations: 3.984 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4172, allocations: 3.938 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4172, allocations: 0 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.4172, allocations: 23.92 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.4174, allocations: 128.8 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4176, allocations: 42.62 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.4176, allocations: 20.97 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.4177, allocations: 8 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.4178, allocations: 34.5 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4178, allocations: 0 / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001564/0.4193, allocations: 410.9 kB / 1.347 GB, free: 13.63 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4194, allocations: 59.39 kB / 1.347 GB, free: 13.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.4195, allocations: 93.86 kB / 1.347 GB, free: 13.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4195, allocations: 25.7 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.4196, allocations: 80.14 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.4196, allocations: 23.8 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.4196, allocations: 29.69 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4198, allocations: 314.8 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4198, allocations: 11.98 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.4199, allocations: 12 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.42, allocations: 32.86 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.42, allocations: 448 / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001426/0.4201, allocations: 89.86 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4201, allocations: 4 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4201, allocations: 0 / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4201, allocations: 0 / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.4202, allocations: 16 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4202, allocations: 4.062 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.4203, allocations: 0 / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4203, allocations: 4 kB / 1.348 GB, free: 12.79 MB / 1.045 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 0.0001161/0.4204, allocations: 113.8 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.4204, allocations: 7.938 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.4206, allocations: 93.5 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4206, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4206, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4207, allocations: 3.938 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.4208, allocations: 128.8 kB / 1.348 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4208, allocations: 3.938 kB / 1.348 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.4209, allocations: 12 kB / 1.348 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.4209, allocations: 3.938 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4209, allocations: 4 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4209, allocations: 7.984 kB / 1.348 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4209, allocations: 4 kB / 1.348 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4211, allocations: 113 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.4212, allocations: 7.969 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4212, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4212, allocations: 4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.4212, allocations: 7.984 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.4212, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.4213, allocations: 75.28 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4213, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002436/0.4215, allocations: 31.94 kB / 1.349 GB, free: 12.09 MB / 1.045 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.0007055/0.4222, allocations: 0.6828 MB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.4224, allocations: 35.98 kB / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4224, allocations: 0 / 1.349 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.4225, allocations: 23.92 kB / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.4226, allocations: 4 kB / 1.349 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.4241, allocations: 1.196 MB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.4241, allocations: 63.34 kB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.855e-05/0.4242, allocations: 23.86 kB / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.4242, allocations: 11.53 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/0.4242, allocations: 3.938 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4493, allocations: 1.981 MB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 0 / 1.353 GB, free: 8.094 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.980998434009962]