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.001804/0.001804, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002134/0.002134, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.492/3.492, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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.002009/0.002009, allocations: 66.36 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3956, allocations: 179 MB / 1.345 GB, free: 376 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002306/0.3979, allocations: 0.5992 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.3984, allocations: 171.9 kB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.3984, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3984, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.585e-05/0.3984, allocations: 0 / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3988, allocations: 38.02 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.3988, allocations: 11.94 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.3989, allocations: 11.97 kB / 1.346 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.3989, allocations: 11.94 kB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.3989, allocations: 3.938 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.399, allocations: 4 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.399, allocations: 39.97 kB / 1.346 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3991, allocations: 11.92 kB / 1.346 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.3991, allocations: 3.984 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3992, allocations: 32.12 kB / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3992, allocations: 0 / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3992, allocations: 0 / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3992, allocations: 0 / 1.346 GB, free: 15.43 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.0004143/0.3996, allocations: 262.3 kB / 1.347 GB, free: 15.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3997, allocations: 8.031 kB / 1.347 GB, free: 15.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.143e-05/0.3997, allocations: 4.188 kB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3997, allocations: 38.75 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.3997, allocations: 0.9375 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3998, allocations: 106.5 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3999, allocations: 4.375 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3999, allocations: 4.375 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.4, allocations: 49.94 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4, allocations: 0 / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4, allocations: 0 / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4, allocations: 8 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.4001, allocations: 15.98 kB / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.4002, allocations: 124.8 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.4003, allocations: 42.62 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.4004, allocations: 20.97 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.4005, allocations: 7.938 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.4005, allocations: 38.5 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.4005, allocations: 3.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001286/0.4018, allocations: 411.1 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4018, allocations: 51.41 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.4019, allocations: 97.84 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4019, allocations: 29.7 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.402, allocations: 80.14 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.402, allocations: 31.91 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.402, allocations: 21.7 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000258/0.4023, allocations: 314.8 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.4023, allocations: 8 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.4024, allocations: 19.92 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.4024, allocations: 37.08 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4024, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001287/0.4026, allocations: 69.62 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4026, allocations: 7.984 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4026, allocations: 8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4026, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.4027, allocations: 8 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4027, allocations: 4 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.4027, allocations: 7.875 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4027, allocations: 4 kB / 1.348 GB, free: 13.28 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 9.114e-05/0.4028, allocations: 109.8 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.4028, allocations: 11.88 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.403, allocations: 89.56 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.403, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.403, allocations: 256 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.403, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.4032, allocations: 136.8 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4032, allocations: 11.92 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4033, allocations: 15.92 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4033, allocations: 4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-06/0.4033, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4033, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4033, allocations: 4 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.4035, allocations: 113 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.4035, allocations: 11.92 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4035, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.4036, allocations: 4 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.4036, allocations: 7.969 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4036, allocations: 11.94 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.4037, allocations: 79.34 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4037, allocations: 0 / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002254/0.4039, allocations: 31.92 kB / 1.349 GB, free: 12.56 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.0006102/0.4045, allocations: 0.6749 MB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4046, allocations: 36.39 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4046, allocations: 4 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.4046, allocations: 16 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.4048, allocations: 8 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.406, allocations: 1.204 MB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4064, allocations: 0.6807 MB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.4064, allocations: 11.69 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4065, allocations: 19.44 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.4065, allocations: 0 / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4364, allocations: 1.97 MB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.64, allocations: 10.06 kB / 1.353 GB, free: 7.949 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: 19.152363685017917]